diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-10 01:54:25 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-10 01:54:25 +0300 |
commit | 22643b12e86dbb9b8d6d2e193befc44835d14fc5 (patch) | |
tree | 5d01477161dd4ca5a7c8e5d1df59d996a7013495 | |
parent | 3535be3f6f35af5a766c7bc523c68054584a3ad4 (diff) |
show_handles property didn't flip bool properly.
Patch by DustyDingo on irc.
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index ef72b6cbf1f..e4d0769feeb 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1351,7 +1351,7 @@ static void rna_def_space_graph(BlenderRNA *brna) RNA_def_property_update(prop, NC_SPACE|ND_SPACE_GRAPH, NULL); prop= RNA_def_property(srna, "show_handles", PROP_BOOLEAN, PROP_NONE); - RNA_def_property_boolean_sdna(prop, NULL, "flag", SIPO_NOHANDLES); + RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SIPO_NOHANDLES); RNA_def_property_ui_text(prop, "Show Handles", "Show handles of Bezier control points."); RNA_def_property_update(prop, NC_SPACE|ND_SPACE_GRAPH, NULL); |