Commit: 4b8dcfc0f545c3ab879bf88230725472c1c288ae
Author: Bastien Montagne
Date:   Thu May 21 13:18:42 2015 +0200
Branches: master
https://developer.blender.org/rB4b8dcfc0f545c3ab879bf88230725472c1c288ae

Fix T44795: same menu item for different command in node editor.

We have too much of those cases in our UI, if we want to keep operators doing
several similar/related but yet different tasks, we should have a real way to
support it on label/icon/tip side too. Easier to say than to do though. :|

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

M       release/scripts/startup/bl_ui/space_node.py

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

diff --git a/release/scripts/startup/bl_ui/space_node.py 
b/release/scripts/startup/bl_ui/space_node.py
index e20d980..d0d1376 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -209,8 +209,8 @@ class NODE_MT_select(Menu):
         layout.separator()
 
         layout.operator("node.select_grouped").extend = False
-        layout.operator("node.select_same_type_step").prev = True
-        layout.operator("node.select_same_type_step").prev = False
+        layout.operator("node.select_same_type_step", text="Activate Same Type 
Previous").prev = True
+        layout.operator("node.select_same_type_step", text="Activate Same Type 
Next").prev = False
 
         layout.separator()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to