Skip to content
Snippets Groups Projects
Commit bd05408c authored by Nikolaus Vahrenkamp's avatar Nikolaus Vahrenkamp
Browse files

sanity check

parent 9e7b0528
No related branches found
No related tags found
No related merge requests found
......@@ -393,12 +393,12 @@ namespace armarx
ARMARX_ERROR_S << "Could not load robot file " << filename << ". Aborting..." << endl;
return result;
}
}
if (scaling != 1.0f)
{
ARMARX_INFO_S << "Scaling robot to " << scaling;
result = result->clone(result->getName(), result->getCollisionChecker(), scaling);
}
if (result && scaling != 1.0f)
{
ARMARX_INFO_S << "Scaling robot to " << scaling;
result = result->clone(result->getName(), result->getCollisionChecker(), scaling);
}
synchronizeLocalClone(result, sharedRobotPrx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment