[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29480] trunk/blender/source/blender/ makesrna/intern/rna_scene.c: Compositor 'free unused' option wasn' t working at all, it was referring to the same property

Matt Ebb matt at mke3.net
Tue Jun 15 23:51:16 CEST 2010


Revision: 29480
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29480
Author:   broken
Date:     2010-06-15 23:51:15 +0200 (Tue, 15 Jun 2010)

Log Message:
-----------
Compositor 'free unused' option wasn't working at all, it was referring to the same property
as renderer 'free texture images' flag. Ouch.

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	2010-06-15 21:46:02 UTC (rev 29479)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c	2010-06-15 21:51:15 UTC (rev 29480)
@@ -2517,7 +2517,7 @@
 	RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
 
 	prop= RNA_def_property(srna, "free_unused_nodes", PROP_BOOLEAN, PROP_NONE);
-	RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_FREE_IMAGE);
+	RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_COMP_FREE);
 	RNA_def_property_ui_text(prop, "Free Unused Nodes", "Free Nodes that are not used while compositing, to save memory");
 	RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
 





More information about the Bf-blender-cvs mailing list