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:
authorJacques Lucke <mail@jlucke.com>2019-01-24 19:38:05 +0300
committerJacques Lucke <mail@jlucke.com>2019-01-24 19:40:30 +0300
commit6b5416909ef4f2e833ee9527bf1219d266ace99d (patch)
tree27a7189bae205544cf4963e6053290cfa856f2c8 /source/blender/editors/mesh/editmesh_bisect.c
parent6100dc6a202cb19a13b30210dc4a5afabd3afaa4 (diff)
Fix T60816: Specify subtype for some properties of mesh operators
Reviewers: brecht Differential Revision: https://developer.blender.org/D4248
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bisect.c')
-rw-r--r--source/blender/editors/mesh/editmesh_bisect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c
index 5b59f1aa5f9..cdad0eaca4a 100644
--- a/source/blender/editors/mesh/editmesh_bisect.c
+++ b/source/blender/editors/mesh/editmesh_bisect.c
@@ -404,8 +404,8 @@ void MESH_OT_bisect(struct wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
- prop = RNA_def_float_vector(ot->srna, "plane_co", 3, NULL, -1e12f, 1e12f,
- "Plane Point", "A point on the plane", -1e4f, 1e4f);
+ prop = RNA_def_float_vector_xyz(ot->srna, "plane_co", 3, NULL, -1e12f, 1e12f,
+ "Plane Point", "A point on the plane", -1e4f, 1e4f);
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
prop = RNA_def_float_vector(ot->srna, "plane_no", 3, NULL, -1.0f, 1.0f,
"Plane Normal", "The direction the plane points", -1.0f, 1.0f);