diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-22 03:56:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-22 03:56:35 +0300 |
commit | 9f441976a24eb818926ee8e5fcc94437e4f2e90c (patch) | |
tree | af48ff3b71dc02ef7cb698aa9c3eaffb41d694df /source/blender/src/outliner.c | |
parent | 38255fcc6f976dacfcc59308ff52e9cbe26448ad (diff) |
outliner messed up shift+clicking on linked objects - would display their library path rather then selecting them. displaying library path could be useful but should add elsewhere.
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index ed910607040..63f39608f5d 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -1919,7 +1919,7 @@ static int do_outliner_mouse_event(SpaceOops *soops, TreeElement *te, short even /* activate a name button? */ if(event==LEFTMOUSE) { - if (G.qual & LR_CTRLKEY) { + if (G.qual == LR_CTRLKEY) { if(ELEM8(tselem->type, TSE_NLA, TSE_DEFGROUP_BASE, TSE_CONSTRAINT_BASE, TSE_MODIFIER_BASE, TSE_SCRIPT_BASE, TSE_POSE_BASE, TSE_R_LAYER_BASE, TSE_R_PASS)) error("Cannot edit builtin name"); else if(tselem->id->lib) { @@ -1930,12 +1930,6 @@ static int do_outliner_mouse_event(SpaceOops *soops, TreeElement *te, short even tselem->flag |= TSE_TEXTBUT; } } else { - - if (G.qual & LR_SHIFTKEY) { - if(tselem->id->lib && tselem->type==0) { - notice(tselem->id->lib->name); - } - } /* always makes active object */ tree_element_active_object(soops, te); |