Commit c2f4b71f authored by Jan Möbius's avatar Jan Möbius
Browse files

Get rid of cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13241 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 21f9b59c
......@@ -668,12 +668,11 @@ void DataControlPlugin::slotZoomTo(){
//zoom to object
BaseObjectData* obj = dynamic_cast< BaseObjectData* >(item);
if ( !obj->visible() ){
obj->show();
}
if (obj){
if ( !obj->visible() )
obj->show();
ACG::Vec3d bbmin;
ACG::Vec3d bbmax;
......
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