diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-02-27 02:50:24 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-02-27 02:50:24 +0000 |
| commit | e3092f2805c0b2f62ab9ea03ca03f5ccce51c373 (patch) | |
| tree | ac4d0ad23cb939215e2a8c0c10dfb47296b46fcd /src/select-context.cpp | |
| parent | fix 3d box drag (diff) | |
| download | inkscape-e3092f2805c0b2f62ab9ea03ca03f5ccce51c373.tar.gz inkscape-e3092f2805c0b2f62ab9ea03ca03f5ccce51c373.zip | |
enable entering 3D boxes as groups
(bzr r4874)
Diffstat (limited to 'src/select-context.cpp')
| -rw-r--r-- | src/select-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp index 13cb042cd..76bdb4938 100644 --- a/src/select-context.cpp +++ b/src/select-context.cpp @@ -872,8 +872,8 @@ sp_select_context_root_handler(SPEventContext *event_context, GdkEvent *event) if (MOD__CTRL_ONLY) { if (selection->singleItem()) { SPItem *clicked_item = selection->singleItem(); - if ( SP_IS_GROUP(clicked_item) && - !SP_IS_BOX3D(clicked_item)) { // enter group if it's not a 3D box + if ( SP_IS_GROUP(clicked_item) || + SP_IS_BOX3D(clicked_item)) { // enter group or a 3D box desktop->setCurrentLayer(reinterpret_cast<SPObject *>(clicked_item)); sp_desktop_selection(desktop)->clear(); } else { |
