[Bf-blender-cvs] CVS commit: blender/source/blender/python BPY_extern.h BPY_interface.c blender/source/blender/python/api2_2x Blender.c Blender.h Draw.c blender/source/creator creator.c

Willian Padovani Germano wgermano at ig.com.br
Wed Mar 31 06:18:40 CEST 2004


ianwill (Willian Padovani Germano) 2004/03/31 06:18:40 CEST

  Modified files:
    blender/source/blender/python BPY_extern.h BPY_interface.c 
    blender/source/blender/python/api2_2x Blender.c Blender.h 
                                          Draw.c 
    blender/source/creator creator.c 
  
  Log:
  BPython:
  - tentative fix for scripts with CR/LF endings and split lines:
      in 2.32, the ac3d and vrml2 exporters, for example, had lines
      split with '\\\\' and so gave syntax errors when executed on Win
      platforms, because the scripts bundled with Win binaries had dos
      line endings.
  
  - Chris Keith has written code to execute Python scripts from the
    command-line, with '-P ' switch: "blender -P filename":
      a Blender.Quit function was also added, so Blender can quit after
      running the script (end the script with Blender.Quit()), but there's
      still work to be done in this part, including adding more functions,
      to load / save .blend files and to run scripts.  More testing and
      discussions are necessary.
  
  Thanks Chris, for both your contributions and your patience, since I
  wasn't available to check / commit this for a while.
  
  Revision  Changes    Path
  1.12      +3 -6      blender/source/blender/python/BPY_extern.h
  1.37      +67 -10    blender/source/blender/python/BPY_interface.c
  1.29      +17 -15    blender/source/blender/python/api2_2x/Blender.c
  1.5       +6 -9      blender/source/blender/python/api2_2x/Blender.h
  1.21      +0 -5      blender/source/blender/python/api2_2x/Draw.c
  1.34      +7 -1      blender/source/creator/creator.c



More information about the Bf-blender-cvs mailing list