[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36237] trunk/blender/source/blender/ makesrna/intern/rna_scene.c: This was causing too many problems.

Joshua Leung aligorith at gmail.com
Wed Apr 20 11:41:45 CEST 2011


Revision: 36237
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36237
Author:   aligorith
Date:     2011-04-20 09:41:44 +0000 (Wed, 20 Apr 2011)
Log Message:
-----------
This was causing too many problems. Better to just not enable this for
now. There are really many good uses for this anyway.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_scene.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c	2011-04-20 07:44:42 UTC (rev 36236)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c	2011-04-20 09:41:44 UTC (rev 36237)
@@ -3201,6 +3201,7 @@
 
 	/* 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");




More information about the Bf-blender-cvs mailing list