diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-17 22:45:13 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-17 22:45:13 +0400 |
commit | b60671c9626d77417fe839c43a1aca72ccc5fc0d (patch) | |
tree | f8fdc148cc56c59df51e232bf844c52c39058a4a /source | |
parent | 60e35be2d4ca9713b8a135d38d624ba3068a5dc6 (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')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 1 |
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); |