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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-04-23 17:58:46 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-04-23 17:58:46 +0400
commit14ab812da55ad08bc00f90fe0b9efa91c60daa71 (patch)
treefdd88fa94aca016b2a14b1eecc52167d7da369cc
parent70fdcebb93f0984980f7aefd33ac0fafe91f3dfe (diff)
Fix T39828: Incorrect render layer visibility display for animated render layers.
More like a workaround, current depsgraph does not really allow for animated layers, esp. when we alwys expect at least one to be enabled (same issue as with basic Scene layers).
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 1d83206f17f..53e1686e323 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2260,6 +2260,8 @@ void rna_def_render_layer_common(StructRNA *srna, int scene)
else RNA_def_property_boolean_funcs(prop, NULL, "rna_RenderLayer_layer_set");
if (scene) RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_Scene_glsl_update");
else RNA_def_property_clear_flag(prop, PROP_EDITABLE);
+ /* this seems to be too much trouble with depsgraph updates/etc. currently (20140423) */
+ RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
prop = RNA_def_property(srna, "layers_zmask", PROP_BOOLEAN, PROP_LAYER);
RNA_def_property_boolean_sdna(prop, NULL, "lay_zmask", 1);