[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53089] trunk/blender/source/blender/ makesrna/intern/rna_object.c: Object Layer property now has tag " not animatable".
Ton Roosendaal
ton at blender.org
Mon Dec 17 19:45:14 CET 2012
Revision: 53089
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53089
Author: ton
Date: 2012-12-17 18:45:13 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
Object Layer property now has tag "not animatable".
Even with new depsgraph that'll be a big problem to support.
For as long layers define relationships or define evaluation
this should remain a static state.
Instead, animate outliner "visibility".
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_object.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_object.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_object.c 2012-12-17 17:37:48 UTC (rev 53088)
+++ trunk/blender/source/blender/makesrna/intern/rna_object.c 2012-12-17 18:45:13 UTC (rev 53089)
@@ -2082,6 +2082,7 @@
RNA_def_property_boolean_funcs(prop, NULL, "rna_Object_layer_set");
RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_layer_update");
+ RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
prop = RNA_def_property(srna, "layers_local_view", PROP_BOOLEAN, PROP_LAYER_MEMBER);
RNA_def_property_boolean_sdna(prop, NULL, "lay", 0x01000000);
More information about the Bf-blender-cvs
mailing list