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

don't set the SelectionEnvironment if not found.

closes #97
parent d1223e92
......@@ -1820,7 +1820,8 @@ bool SelectionBasePlugin::findObjectType(BaseObjectData*& obj, bool& found, Sele
}
if(found) break;
}
env = &it->second;
if (found)
env = &it->second;
return true;
}
else
......
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