Sorry about this, it looked like python was the only caller to the function I changed but must have made some mistake. will look into it tonight.
On Sun, Apr 25, 2010 at 7:29 PM, JS <[email protected]> wrote: > > > This commit breaks texture slot. And texture creation. > > Reported by several others on IRC, k thnx. > > Revision: 28401 > > http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28401 > Author: campbellbarton > Date: 2010-04-24 21:26:05 +0200 (Sat, 24 Apr 2010) > > Log Message: > ----------- > py api: fix for context returning None for an empty list such as > 'context.selected_objects', now returns [] > > Modified Paths: > -------------- > trunk/blender/source/blender/blenkernel/BKE_context.h > trunk/blender/source/blender/blenkernel/intern/context.c > trunk/blender/source/blender/editors/screen/screen_context.c > trunk/blender/source/blender/editors/space_node/space_node.c > trunk/blender/source/blender/editors/space_view3d/space_view3d.c > trunk/blender/source/blender/python/intern/bpy_rna.c > > Modified: trunk/blender/source/blender/blenkernel/BKE_context.h > =================================================================== > --- trunk/blender/source/blender/blenkernel/BKE_context.h 2010-04-24 > 18:11:28 UTC (rev 28400) > +++ trunk/blender/source/blender/blenkernel/BKE_context.h 2010-04-24 > 19:26:05 UTC (rev 28401) > @@ -170,11 +170,17 @@ > freed with BLI_freelistN! > - the dir listbase consits of LinkData items */ > > +/* data type, needed so we can tell between a NULL pointer and an empty list > */ > +enum { > + CTX_DATA_TYPE_POINTER = 0, > + CTX_DATA_TYPE_COLLECTION > +}; > > > > > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
