[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29121] trunk/blender/source/blender/ makesrna/intern/rna_actuator.c: Logic Editor: visible flag is boolean_negative

Dalai Felinto dfelinto at gmail.com
Tue Jun 1 09:49:28 CEST 2010


Revision: 29121
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29121
Author:   dfelinto
Date:     2010-06-01 09:49:27 +0200 (Tue, 01 Jun 2010)

Log Message:
-----------
Logic Editor: visible flag is boolean_negative

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

Modified: trunk/blender/source/blender/makesrna/intern/rna_actuator.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2010-06-01 07:41:00 UTC (rev 29120)
+++ trunk/blender/source/blender/makesrna/intern/rna_actuator.c	2010-06-01 07:49:27 UTC (rev 29121)
@@ -1564,7 +1564,7 @@
 	RNA_def_struct_sdna_from(srna, "bVisibilityActuator", "data");
 
 	prop= RNA_def_property(srna, "visible", PROP_BOOLEAN, PROP_NONE);
-	RNA_def_property_boolean_sdna(prop, NULL, "flag", ACT_VISIBILITY_INVISIBLE);
+	RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", ACT_VISIBILITY_INVISIBLE);
 	RNA_def_property_ui_text(prop, "Visible", "Set the objects visible. Initialized from the objects render restriction toggle (access in the outliner)");
 	RNA_def_property_update(prop, NC_LOGIC, NULL);
 





More information about the Bf-blender-cvs mailing list