[Bf-blender-cvs] [669b23daed8] blender2.8: Tool System: default node editor to select tool

Campbell Barton noreply at git.blender.org
Thu Dec 20 04:29:40 CET 2018


Commit: 669b23daed8824c55dd546eaff5532a4481e64fa
Author: Campbell Barton
Date:   Thu Dec 20 14:26:50 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB669b23daed8824c55dd546eaff5532a4481e64fa

Tool System: default node editor to select tool

With box select you can't cut-links with RMB select.

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

M	source/blender/windowmanager/intern/wm_toolsystem.c

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

diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c
index ef8a57a1255..1d78e64cd0c 100644
--- a/source/blender/windowmanager/intern/wm_toolsystem.c
+++ b/source/blender/windowmanager/intern/wm_toolsystem.c
@@ -809,6 +809,11 @@ static const char *toolsystem_default_tool(const bToolKey *tkey)
 					return "Draw";
 			}
 			break;
+		case SPACE_NODE:
+		{
+			/* 'Select Box' interferes with cut-links which is handy. */
+			return "Select";
+		}
 	}
 
 	return "Select Box";



More information about the Bf-blender-cvs mailing list