Skip to content
Snippets Groups Projects
Commit 78d1ae11 authored by Matthias Möller's avatar Matthias Möller
Browse files

show bounding box on new objects, if the "show bb"-option is enabled

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19672 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 528c224a
No related branches found
No related tags found
No related merge requests found
...@@ -400,6 +400,10 @@ void DataControlPlugin::fileOpened(int _id){ ...@@ -400,6 +400,10 @@ void DataControlPlugin::fileOpened(int _id){
*/ */
void DataControlPlugin::addedEmptyObject(int _id){ void DataControlPlugin::addedEmptyObject(int _id){
fileOpened(_id); fileOpened(_id);
BaseObjectData* obj = 0;
PluginFunctions::getObject(_id,obj);
if (!obj)
updateBoundingBox(obj);
} }
//****************************************************************************** //******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment