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

Use ranges for Object Iteration to simplify code

parent c5759b86
......@@ -886,7 +886,7 @@ void InfoMeshObjectPlugin::updateData( int _identifier , const UpdateType& _type
if ( object && !object->target() ) {
for (auto* o_it : PluginFunctions::objects(PluginFunctions::TARGET_OBJECTS) ) {
if ( !_deleted || ( o_it->id() != _identifier ) ) {
object = *o_it;
object = o_it;
break;
}
}
......
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