Commit 6123f270 authored by Jan Möbius's avatar Jan Möbius

Tobias Selection for splat clouds

Selection Plugin is still in trunk

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13291 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a82addc
......@@ -580,8 +580,8 @@ void SplatCloudRenderingControlPlugin::slotToolboxRebuildVBOsButtonClicked()
// get scenegraph splatcloud-node
SplatCloudNode *splatCloudNode = PluginFunctions::splatCloudNode( *objIter );
// apply update (make vertex-buffer-object invalid so it will be rebuilt the next time the node is drawn (or picked))
splatCloudNode->invalidateVBO();
// rebuild the vertex-buffer-object the next time the node is drawn (or picked)
splatCloudNode->modifiedAll();
// emit signal that object has to be updated
emit updatedObject( objIter->id(), UPDATE_ALL );
......@@ -763,8 +763,8 @@ void SplatCloudRenderingControlPlugin::slotContextRebuildVBOActionTriggered()
// if object is a SplatCloud...
if( splatCloudNode )
{
// apply update (make vertex-buffer-object invalid so it will be rebuilt the next time the node is drawn (or picked))
splatCloudNode->invalidateVBO();
// rebuild the vertex-buffer-object the next time the node is drawn (or picked)
splatCloudNode->modifiedAll();
// emit signal that object has to be updated
emit updatedObject( object->id(), UPDATE_ALL );
......
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