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>2004-10-10 15:33:19 +0400
committerTon Roosendaal <ton@blender.org>2004-10-10 15:33:19 +0400
commit851c5781be6e347d7e0c7198e225e9bce8479c65 (patch)
tree343bf4b974e5cf03023c7913463e7c776b7854fb /source/blender/src/space.c
parent7028b1eb99336b74d298f6561165f4f71ced9e39 (diff)
- Added Outliner selection
As a means to indicate items in the Outliner to do operations on, you can select with RMB items. Works like FileSelect here. Since selection in Outliner is only on outliner level, no further UI updates happen. That is reserved for LMB actions. Implemented right now are only few operations... they can be called up with the WKEY (the famous spare key :) - if objects selected, a menu appears with choices - if materials or textures selected, a meny appears to unlink them If you make mixed or confusing selections you get a warning message. TODO: add selection color in theme, and of course more operations.
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index fc9df9f94e2..5c786927491 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -3802,11 +3802,17 @@ static void winqreadoopsspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case WHEELDOWNMOUSE:
view2dmove(event); /* in drawipo.c */
break;
+ case RIGHTMOUSE:
+ outliner_select(sa);
+ break;
case AKEY:
- outliner_toggle_visible(sa);
+ outliner_toggle_selected(sa);
break;
-
+ case WKEY:
+ outliner_operation_menu(sa);
+ break;
+
case HOMEKEY:
outliner_show_hierarchy(sa);
break;