Commit 3526200b authored by Jan Möbius's avatar Jan Möbius

Removed debug output

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@16406 383ad7c9-94d9-4d36-a494-682f7c89f535
parent fe993beb
......@@ -106,10 +106,7 @@ void PanoramaControlPlugin::slotLoadImage() {
domeObject->getSkyDome().setTextureFileName(file);
// Update the object and its buffers
emit updatedObject(domeObject->id(), UPDATE_ALL);
// Force redraw to update uniforms for rendering
emit updateView();
emit updatedObject(domeObject->id(), UPDATE_TEXTURE);
}
void PanoramaControlPlugin::slotValuesChanged(double) {
......@@ -123,15 +120,13 @@ void PanoramaControlPlugin::slotValuesChanged(double) {
domeObject->getSkyDome().setVerticalFOV(tool_->vFOV->value() );
domeObject->getSkyDome().setTopOffset(tool_->cutOff->value() );
emit updatedObject(o_it->id(), UPDATE_ALL);
// Only first object will be handled for now!
break;
}
}
// Force redraw to update uniforms for rendering
// Only update the view, as only uniforms will change here
emit updateView();
}
......
......@@ -64,6 +64,7 @@ signals:
//BaseInterface
void updateView();
void updatedObject(int _identifier, const UpdateType& _type);
void setSlotDescription(QString _slotName, QString _slotDescription,
QStringList _parameters, QStringList _descriptions);
......
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