Commit f4c1edab authored by Jan Möbius's avatar Jan Möbius

Fixed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13339 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 28d89653
......@@ -1389,10 +1389,11 @@ void MovePlugin::slotMoveToOrigin() {
useCommonCOG = ( button == QMessageBox::Yes );
double vertexCount = 0.0;
if ( useCommonCOG ) {
double vertexCount = 0.0;
// Compute cog for all objects
for ( PluginFunctions::ObjectIterator o_it(PluginFunctions::TARGET_OBJECTS) ; o_it != PluginFunctions::objectsEnd(); ++o_it) {
if ( o_it->dataType( DATA_TRIANGLE_MESH )) {
......
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