Commit 274e7416 authored by Isaak Lim's avatar Isaak Lim
Browse files

update the viewport once a PTS file is opened

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18848 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c3d36361
......@@ -766,6 +766,9 @@ int FilePTSPlugin::loadObject( QString _filename )
emit updatedObject( splatCloudObjectId, UPDATE_ALL );
emit openedFile( splatCloudObjectId );
// update viewport
PluginFunctions::viewAll();
// get drawmodes
ACG::SceneGraph::DrawModes::DrawMode splatsDrawMode = ACG::SceneGraph::DrawModes::getDrawMode( "Splats" );
ACG::SceneGraph::DrawModes::DrawMode dotsDrawMode = ACG::SceneGraph::DrawModes::getDrawMode( "Dots" );
......
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