[Bf-blender-cvs] [48b52e06b0b] master: Cleanup: Remove unused properties from node Viewer Region operator

Julian Eisel noreply at git.blender.org
Tue Oct 13 15:53:32 CEST 2020


Commit: 48b52e06b0bd75c0f143fb53d87e29ece81ec2d1
Author: Julian Eisel
Date:   Tue Oct 13 15:43:21 2020 +0200
Branches: master
https://developer.blender.org/rB48b52e06b0bd75c0f143fb53d87e29ece81ec2d1

Cleanup: Remove unused properties from node Viewer Region operator

The operator would define the `deselect` and `extend` properties,
without actually using them. It's confusing to have them in the keymap
item UI.

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

M	source/blender/editors/space_node/node_edit.c

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

diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index 894da811ed4..b1659bcd023 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -2724,7 +2724,7 @@ void NODE_OT_viewer_border(wmOperatorType *ot)
   ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
 
   /* properties */
-  WM_operator_properties_gesture_box_select(ot);
+  WM_operator_properties_gesture_box(ot);
 }
 
 static int clear_viewer_border_exec(bContext *C, wmOperator *UNUSED(op))



More information about the Bf-blender-cvs mailing list