Wait with the ninja commit, does this mean we can't animate object's layers?
cheers Daniel Salazar 3Developer.com On Wed, Apr 20, 2011 at 3:41 AM, Joshua Leung <[email protected]> wrote: > Revision: 36237 > > http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36237 > Author: aligorith > Date: 2011-04-20 09:41:44 +0000 (Wed, 20 Apr 2011) > Log Message: > ----------- > This was causing too many problems. Better to just not enable this for > now. There are really many good uses for this anyway. > > Modified Paths: > -------------- > trunk/blender/source/blender/makesrna/intern/rna_scene.c > > Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c > =================================================================== > --- trunk/blender/source/blender/makesrna/intern/rna_scene.c 2011-04-20 > 07:44:42 UTC (rev 36236) > +++ trunk/blender/source/blender/makesrna/intern/rna_scene.c 2011-04-20 > 09:41:44 UTC (rev 36237) > @@ -3201,6 +3201,7 @@ > > /* Layers */ > prop= RNA_def_property(srna, "layers", PROP_BOOLEAN, > PROP_LAYER_MEMBER); > + RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); // this seems to > be too much trouble with depsgraph updates/etc. currently (20110420) > RNA_def_property_boolean_sdna(prop, NULL, "lay", 1); > RNA_def_property_array(prop, 20); > RNA_def_property_boolean_funcs(prop, NULL, "rna_Scene_layer_set"); > > _______________________________________________ > Bf-blender-cvs mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-blender-cvs > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
