diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-06-01 11:49:27 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-06-01 11:49:27 +0400 |
commit | c902eb8d7e6b737f04c9fa0897db8a75af1fd8ec (patch) | |
tree | 1ef006bac9efa11d8cfbbfadba9f779998bda494 | |
parent | b96a2c346c488bd520b1fa5637a3ed37ee5936b3 (diff) |
Logic Editor: visible flag is boolean_negative
-rw-r--r-- | source/blender/makesrna/intern/rna_actuator.c | 2 |
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); |