Commit 15b32524 authored by Jan Möbius's avatar Jan Möbius

Fixed cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13898 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 98d96a74
......@@ -364,13 +364,14 @@ void VolumeMeshSelectionPlugin::slotCustomSelection(QMouseEvent *_event, Primiti
if(_customIdentifier == columnSelectionHandle_) {
unsigned int node_idx, target_idx;
ACG::Vec3d hit_point;
BaseObjectData* object = 0;
if(_currentType & cellType_) {
// Perform picking
unsigned int node_idx, target_idx;
bool successfullyPicked = PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_FACE, _event->pos(),
node_idx, target_idx, &hit_point)
&& PluginFunctions::getPickedObject(node_idx, object);
......@@ -412,13 +413,13 @@ void VolumeMeshSelectionPlugin::slotCustomSelection(QMouseEvent *_event, Primiti
if(_customIdentifier == sheetSelectionHandle_) {
unsigned int node_idx, target_idx;
ACG::Vec3d hit_point;
BaseObjectData* object = 0;
if(_currentType & cellType_) {
// Perform picking
unsigned int node_idx, target_idx;
bool successfullyPicked = PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_FACE, _event->pos(),
node_idx, target_idx, &hit_point)
&& PluginFunctions::getPickedObject(node_idx, object);
......
Markdown is supported
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