This was causing too many problems. Better to just not enable this for
authorJoshua Leung <aligorith@gmail.com>
Wed, 20 Apr 2011 09:41:44 +0000 (09:41 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 20 Apr 2011 09:41:44 +0000 (09:41 +0000)
now. There are really many good uses for this anyway.

source/blender/makesrna/intern/rna_scene.c

index 0ac310d233b4c7dfb1fb69daa9c7b7c143e4f0fa..acb0ffa3be2e853018fd81c41014533806f51389 100644 (file)
@@ -3201,6 +3201,7 @@ void RNA_def_scene(BlenderRNA *brna)
 
        /* Layers */
        prop= RNA_def_property(srna, "layers", PROP_BOOLEAN, PROP_LAYER_MEMBER);
 
        /* 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");
        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");