Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-12-17 22:45:13 +0400
committerTon Roosendaal <ton@blender.org>2012-12-17 22:45:13 +0400
commitb60671c9626d77417fe839c43a1aca72ccc5fc0d (patch)
treef8fdc148cc56c59df51e232bf844c52c39058a4a /source/blender
parent60e35be2d4ca9713b8a135d38d624ba3068a5dc6 (diff)
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".
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index c49bdf032fc..b218cc6a944 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -2082,6 +2082,7 @@ static void rna_def_object(BlenderRNA *brna)
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);