Use rubberband for box selection

This commit is contained in:
wmayer
2013-07-02 10:04:33 +02:00
parent d78d5783c4
commit b737eeb52d
7 changed files with 24 additions and 20 deletions

View File

@@ -1972,7 +1972,7 @@ void StdBoxSelection::activated(int iMsg)
if (view) {
View3DInventorViewer* viewer = view->getViewer();
if (!viewer->isSelecting()) {
viewer->startSelection(View3DInventorViewer::Rectangle);
viewer->startSelection(View3DInventorViewer::Rubberband);
viewer->addEventCallback(SoMouseButtonEvent::getClassTypeId(), selectionCallback);
}
}