diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 01:40:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-20 01:40:08 +0300 |
commit | aa7e76b2e35c6ff6c58ccd4373b68dde8283a3a3 (patch) | |
tree | 5b1bf92ebe488833668589d3a101311ef3b08faa /source/blender/makesrna | |
parent | fc10484f7c55d425f8374f2ea64f6b525cff2b7d (diff) | |
parent | cb957fd8e0e2e0d0dbbebc3e7e3fcc5bfa8b51a8 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index a2733b91427..b15f6dbccfa 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -959,19 +959,19 @@ static void rna_def_gpencil_triangle(BlenderRNA *brna) /* point v1 */ prop = RNA_def_property(srna, "v1", PROP_INT, PROP_NONE); - RNA_def_property_int_sdna(prop, NULL, "v1"); + RNA_def_property_int_sdna(prop, NULL, "verts[0]"); RNA_def_property_ui_text(prop, "v1", "First triangle vertex index"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); /* point v2 */ prop = RNA_def_property(srna, "v2", PROP_INT, PROP_NONE); - RNA_def_property_int_sdna(prop, NULL, "v2"); + RNA_def_property_int_sdna(prop, NULL, "verts[1]"); RNA_def_property_ui_text(prop, "v2", "Second triangle vertex index"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); /* point v3 */ prop = RNA_def_property(srna, "v3", PROP_INT, PROP_NONE); - RNA_def_property_int_sdna(prop, NULL, "v3"); + RNA_def_property_int_sdna(prop, NULL, "verts[2]"); RNA_def_property_ui_text(prop, "v3", "Third triangle vertex index"); RNA_def_property_clear_flag(prop, PROP_EDITABLE); } |