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_tools.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_tools.c')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index af227ff0eb9..603683a931c 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -7581,8 +7581,8 @@ void MESH_OT_point_normals(struct wmOperatorType *ot)
RNA_def_boolean(ot->srna, "align", false, "Align", "Make all affected normals parallel");
- RNA_def_float_vector(ot->srna, "target_location", 3, NULL, -FLT_MAX, FLT_MAX,
- "Target", "Target location to which normals will point", -1000.0f, 1000.0f);
+ RNA_def_float_vector_xyz(ot->srna, "target_location", 3, NULL, -FLT_MAX, FLT_MAX,
+ "Target", "Target location to which normals will point", -1000.0f, 1000.0f);
RNA_def_boolean(ot->srna, "spherize", false,
"Spherize", "Interpolate between original and new normals");