Commit 485520d1 authored by Mike Kremer's avatar Mike Kremer

Fixed cppcheck issue: Changed implicit pointer cast to dynamic_cast() call.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0408fb35
......@@ -188,7 +188,7 @@ void OVMPropertyModel<MeshT>::mouseEvent(QMouseEvent* _event)
ACG::Vec3d hit_point;
OVMPropertyVisualizer<MeshT>* viz = (OVMPropertyVisualizer<MeshT>*) propertyVisualizers[currentlySelectedIndices.first().row()];
OVMPropertyVisualizer<MeshT>* viz = dynamic_cast<OVMPropertyVisualizer<MeshT>*>(propertyVisualizers[currentlySelectedIndices.first().row()]);
unsigned int entityId = 0;
ACG::SceneGraph::PickTarget pickTarget;
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