diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-07-10 13:34:55 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-07-10 13:34:55 +0000 |
| commit | ee84249ca1beba20664f3b64bd0b480c7db9a255 (patch) | |
| tree | 4f3e13be2219374e5caeab5123c3e1a4621be367 /src | |
| parent | Status message & cleanups (diff) | |
| download | inkscape-ee84249ca1beba20664f3b64bd0b480c7db9a255.tar.gz inkscape-ee84249ca1beba20664f3b64bd0b480c7db9a255.zip | |
Click-select entire 3D boxes instead of only single faces; faces can still be selected with (Alt+)Ctrl-Click
(bzr r3210)
Diffstat (limited to 'src')
| -rw-r--r-- | src/box3d-context.cpp | 2 | ||||
| -rw-r--r-- | src/tools-switch.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index ab95e7f5e..f9b2a1838 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -311,7 +311,7 @@ static gint sp_3dbox_context_root_handler(SPEventContext *event_context, GdkEven event_context->within_tolerance = true; // remember clicked item, disregarding groups, honoring Alt - event_context->item_to_select = sp_event_context_find_item (desktop, button_w, event->button.state & GDK_MOD1_MASK, TRUE); + event_context->item_to_select = sp_event_context_find_item (desktop, button_w, event->button.state & GDK_MOD1_MASK, event->button.state & GDK_CONTROL_MASK); dragging = true; diff --git a/src/tools-switch.cpp b/src/tools-switch.cpp index bc9655a83..fd8acad23 100644 --- a/src/tools-switch.cpp +++ b/src/tools-switch.cpp @@ -151,7 +151,7 @@ tools_switch(SPDesktop *dt, int num) dt->set_event_context(SP_TYPE_3DBOX_CONTEXT, tool_names[num]); dt->activate_guides(false); inkscape_eventcontext_set(sp_desktop_event_context(dt)); - dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("<b>Drag</b> to create a 3D box. <b>Drag controls</b> to resize in perspective. <b>Click</b> to select.")); + dt->tipsMessageContext()->set(Inkscape::NORMAL_MESSAGE, _("<b>Drag</b> to create a 3D box. <b>Drag controls</b> to resize in perspective. <b>Click</b> to select (with <b>Ctrl+Alt</b> for single faces).")); break; case TOOLS_SHAPES_ARC: dt->set_event_context(SP_TYPE_ARC_CONTEXT, tool_names[num]); |
