Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2007-03-21 23:40:18 +0300
committerTon Roosendaal <ton@blender.org>2007-03-21 23:40:18 +0300
commit677a4b4da71f962fe51050786fd9c6ab71b34259 (patch)
tree09a56dbe53753784dcfc648035ec900c265eb51a /source/blender/src/outliner.c
parent059ea9359d547a6f1e7f89a007f896ffa6649235 (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.c5
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);