diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-04-02 23:40:51 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-04-02 23:40:51 +0400 |
commit | 5a805c5fc3f2e262e37dfcc3673b70bf666ffe9f (patch) | |
tree | 4ff5db9f88471550d532e6853dd550d75b576250 /source/blender/editors/mesh/editmesh_tools.c | |
parent | 9a027080df135ade5d2237ffff299a0b1762910d (diff) |
[#21840] When clicking to move a Node it sticks to the mouse
Add hidden property to be able to force confirm on release (drag immediately is a silly name) on or off.
Streamline method for adding common properties to transform operators.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_tools.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 |
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 de644e3f6f3..d5678590d53 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -5048,8 +5048,8 @@ void MESH_OT_rip(wmOperatorType *ot) ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; /* to give to transform */ - Properties_Proportional(ot); - RNA_def_boolean(ot->srna, "mirror", 0, "Mirror Editing", ""); + /* XXX Transform this in a macro */ + Transform_Properties(ot, P_CONSTRAINT|P_MIRROR); } |