[Bf-committers] CVS commit: blender/source/blender/python/api2_2x Object.c Object.h

Michel Selten bf-committers@blender.org
Tue, 20 May 2003 21:02:10 +0200 (CEST)


michel (Michel Selten) 2003/05/20 21:02:10 CEST

  Modified files:
    blender/source/blender/python/api2_2x Object.c Object.h 
  
  Log:
  * Fixed a bug in Object.getSelected(). All the objects were returned in stead
    of just the selected object(s). This bug was pointed out by
    Jacek Poplawski.
  * If there's already a PyObject of a certain object available, then don't
    create a new one, just return the specified object.
  * Updated the Object_getData function to return correct objects. So far it can
    return objects of type Camera, Curve, Lamp and Object.
  
  Revision  Changes    Path
  1.8       +47 -11    blender/source/blender/python/api2_2x/Object.c
  1.3       +5 -1      blender/source/blender/python/api2_2x/Object.h