Commit e46b6bf0 authored by Frédéric Larue's avatar Frédéric Larue

Bug fix: the selectionManager() function of the DisplayableInterface class...

Bug fix: the selectionManager() function of the DisplayableInterface class must be called AFTER the initialize() function.
parent e858df8b
......@@ -28,8 +28,6 @@ void GLViewer::DisplayableInfo::Initialize( DisplayableInterface *displayable,
this->displayable = displayable;
this->posInPriorityList = priorityPos;
this->selectionMgr = displayable->selectionManager();
displayable->initialize( params );
displayable->transformation( this->userTransform );
......@@ -37,6 +35,8 @@ void GLViewer::DisplayableInfo::Initialize( DisplayableInterface *displayable,
this->fullTransform = this->userTransform * this->packingTransform;
displayable->boundingBox( this->boundingBox );
this->selectionMgr = displayable->selectionManager();
}
......
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