[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern object.c blender/source/blender/python/api2_2x Object.c

Ken Hughes khughes at pacific.edu
Sat Dec 9 07:17:15 CET 2006


khughes (Ken Hughes) 2006/12/09 07:17:14 CET

  Modified files:
    blender/source/blender/blenkernel/intern object.c 
    blender/source/blender/python/api2_2x Object.c 
  
  Log:
  Python API
  ----------
  
  Bugfix #5373: creating a curve or text object using Object.New() without
  linking any data to the object would later cause a segfault when ob->data
  was later dereferenced.  This problem will be fixed (hopefully soon) in the
  API when new objects are created with data and linked to scenes all in one
  step, but for now check for curves that ob->data is defined before using,
  otherwise print an error message to the console and skip the object.
  
  Revision  Changes    Path
  1.121     +9 -1      blender/source/blender/blenkernel/intern/object.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/object.c.diff?r1=1.120&r2=1.121&cvsroot=bf-blender>
  1.223     +27 -12    blender/source/blender/python/api2_2x/Object.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Object.c.diff?r1=1.222&r2=1.223&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list