Commit 0d313a59 authored by Mike Kremer's avatar Mike Kremer
Browse files

Forgot return... :)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11312 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fd532559
......@@ -163,9 +163,10 @@ void ObjectSelectionPlugin::slotToggleSelection(QMouseEvent* _event, SelectionIn
if((_currentType & objectType_) == 0) return;
// Return if mouse event is not a left-button click
if(_event->button() == Qt::LeftButton)
if(_event->button() == Qt::LeftButton) return;
unsigned int node_idx, target_idx;
unsigned int node_idx = 0;
unsigned int target_idx = 0;
ACG::Vec3d hit_point;
BaseObjectData* object = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment