diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-05 19:42:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-05 19:42:31 +0400 |
commit | 89926a0598a794043ed9b702f32d119fed888c04 (patch) | |
tree | 9d6dae64adcd31e738e32141fa9c15219c6cb981 /source/blender/makesrna/intern/rna_space.c | |
parent | 83fff218cca47147183c1177de9db1381cfa48e6 (diff) | |
parent | 12981b004891aa6dbd2334a4c732ba38c1b0c349 (diff) |
svn merge ^/trunk/blender -r55776:55813
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index e036bb1c999..7a69f3c6b7c 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -3357,7 +3357,8 @@ static void rna_def_space_node(BlenderRNA *brna) RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE_VIEW, NULL); /* the mx/my "cursor" in the node editor is used only by operators to store the mouse position */ - prop = RNA_def_property(srna, "cursor_location", PROP_FLOAT, PROP_NONE); + prop = RNA_def_property(srna, "cursor_location", PROP_FLOAT, PROP_XYZ); + RNA_def_property_array(prop, 2); RNA_def_property_float_sdna(prop, NULL, "cursor"); RNA_def_property_ui_text(prop, "Cursor Location", "Location for adding new nodes"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_NODE_VIEW, NULL); |