[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24712] trunk/blender/source/blender/ makesrna/intern/rna_nodetree.c: use negative boolean option no_zbuf -> use_zbuf
Campbell Barton
ideasman42 at gmail.com
Fri Nov 20 21:53:25 CET 2009
Revision: 24712
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24712
Author: campbellbarton
Date: 2009-11-20 21:53:23 +0100 (Fri, 20 Nov 2009)
Log Message:
-----------
use negative boolean option no_zbuf -> use_zbuf
Modified Paths:
--------------
trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
Modified: trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_nodetree.c 2009-11-20 20:40:29 UTC (rev 24711)
+++ trunk/blender/source/blender/makesrna/intern/rna_nodetree.c 2009-11-20 20:53:23 UTC (rev 24712)
@@ -1496,8 +1496,8 @@
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "use_zbuffer", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "no_zbuf", 1);
- RNA_def_property_ui_text(prop, "Ignore Z-Buffer", "Enable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg. time node)");
+ RNA_def_property_boolean_negative_sdna(prop, NULL, "no_zbuf", 1);
+ RNA_def_property_ui_text(prop, "Use Z-Buffer", "Disable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg. time node)");
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "z_scale", PROP_FLOAT, PROP_NONE);
More information about the Bf-blender-cvs
mailing list