diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-02-27 22:42:34 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-02-27 22:42:43 +0300 |
commit | 91abb70006866e651233ff44f0f275856a6bf65d (patch) | |
tree | 18b08c7bb03f334a97f53df639ea2dcc8f06925d /source/blender/editors/transform/transform_ops.c | |
parent | c20caec7f0b39b7d15bd600880ea9534c31f6732 (diff) |
Transform: Remove 'mouse_coordinate_override' property
This property depends on the view that can change when redoing.
Diffstat (limited to 'source/blender/editors/transform/transform_ops.c')
-rw-r--r-- | source/blender/editors/transform/transform_ops.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index d3d5d785eac..39f6f24eb8d 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -694,14 +694,6 @@ void Transform_Properties(struct wmOperatorType *ot, int flags) RNA_def_property_ui_text(prop, "Center Override", "Force using this center value (when set)"); } - if (flags & P_MOUSE) { - prop = RNA_def_property(ot->srna, "mouse_coordinate_override", PROP_INT, PROP_XYZ); - RNA_def_property_array(prop, 2); - RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); - RNA_def_property_ui_text( - prop, "Mouse Coordinate Override", "Force using this mouse value (when set)"); - } - if ((flags & P_NO_DEFAULTS) == 0) { prop = RNA_def_boolean(ot->srna, "release_confirm", @@ -1247,7 +1239,7 @@ static void TRANSFORM_OT_transform(struct wmOperatorType *ot) Transform_Properties(ot, P_ORIENT_AXIS | P_ORIENT_MATRIX | P_CONSTRAINT | P_PROPORTIONAL | P_MIRROR | - P_ALIGN_SNAP | P_GPENCIL_EDIT | P_CENTER | P_MOUSE); + P_ALIGN_SNAP | P_GPENCIL_EDIT | P_CENTER); } static int transform_from_gizmo_invoke(bContext *C, |