[Bf-blender-cvs] [7a9028cad16] master: Fix UV rip failing to disable proportional edit-mode

Campbell Barton noreply at git.blender.org
Fri Jul 10 11:07:40 CEST 2020


Commit: 7a9028cad164fb20ebce6689c823dc85b6890860
Author: Campbell Barton
Date:   Fri Jul 10 18:58:36 2020 +1000
Branches: master
https://developer.blender.org/rB7a9028cad164fb20ebce6689c823dc85b6890860

Fix UV rip failing to disable proportional edit-mode

===================================================================

M	source/blender/editors/uvedit/uvedit_ops.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 5ae32601747..18278cf2541 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -2124,7 +2124,7 @@ void ED_operatormacros_uvedit(void)
                                     OPTYPE_UNDO | OPTYPE_REGISTER);
   WM_operatortype_macro_define(ot, "UV_OT_rip");
   otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate");
-  RNA_enum_set(otmacro->ptr, "proportional", 0);
+  RNA_boolean_set(otmacro->ptr, "use_proportional_edit", false);
   RNA_boolean_set(otmacro->ptr, "mirror", false);
 }



More information about the Bf-blender-cvs mailing list