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:
authorJoshua Leung <aligorith@gmail.com>2011-04-20 13:41:44 +0400
committerJoshua Leung <aligorith@gmail.com>2011-04-20 13:41:44 +0400
commite0a81dd1a836f9191685889b72ab01d12d5619c2 (patch)
treed519affb5ab3fb000b1cd93db4c9bb2cd05527a5
parent661d6ff7e5f5135c35029e87ce95029449b6c52c (diff)
This was causing too many problems. Better to just not enable this for
now. There are really many good uses for this anyway.
-rw-r--r--source/blender/makesrna/intern/rna_scene.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 0ac310d233b..acb0ffa3be2 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -3201,6 +3201,7 @@ void RNA_def_scene(BlenderRNA *brna)
/* 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");