diff options
author | Ton Roosendaal <ton@blender.org> | 2007-03-21 23:40:18 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-03-21 23:40:18 +0300 |
commit | 677a4b4da71f962fe51050786fd9c6ab71b34259 (patch) | |
tree | 09a56dbe53753784dcfc648035ec900c265eb51a /source/blender/src/outliner.c | |
parent | 059ea9359d547a6f1e7f89a007f896ffa6649235 (diff) |
Small feature for Referenced Library debugging:
In Outliner, shift+click on item with [Li] icon, gives name of Library file
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index d2cd8eb002c..d7dbe78f9a4 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -1901,6 +1901,11 @@ static int do_outliner_mouse_event(SpaceOops *soops, TreeElement *te, short even } } + 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); |