Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-06-01 11:49:27 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-06-01 11:49:27 +0400
commitc902eb8d7e6b737f04c9fa0897db8a75af1fd8ec (patch)
tree1ef006bac9efa11d8cfbbfadba9f779998bda494 /source/blender/makesrna/intern/rna_actuator.c
parentb96a2c346c488bd520b1fa5637a3ed37ee5936b3 (diff)
Logic Editor: visible flag is boolean_negative
Diffstat (limited to 'source/blender/makesrna/intern/rna_actuator.c')
-rw-r--r--source/blender/makesrna/intern/rna_actuator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c
index 72208217984..e38c69dfcd5 100644
--- a/source/blender/makesrna/intern/rna_actuator.c
+++ b/source/blender/makesrna/intern/rna_actuator.c
@@ -1564,7 +1564,7 @@ static void rna_def_visibility_actuator(BlenderRNA *brna)
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);