Commit 2b7788a0 authored by Jan Möbius's avatar Jan Möbius

Auto switch renderer

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@16410 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 484e4270
......@@ -107,6 +107,10 @@ void PanoramaControlPlugin::slotLoadImage() {
// Update the object and its buffers
emit updatedObject(domeObject->id(), UPDATE_TEXTURE);
// Switch to shader pipeline renderer
emit setRenderer(PluginFunctions::activeExaminer(),"Shader Pipeline Renderer Plugin");
}
void PanoramaControlPlugin::slotValuesChanged(double) {
......
......@@ -68,6 +68,8 @@ signals:
void setSlotDescription(QString _slotName, QString _slotDescription,
QStringList _parameters, QStringList _descriptions);
void setRenderer(unsigned int _viewer, QString _rendererName);
//LoggingInterface:
void log( Logtype _type, QString _message );
void log( QString _message );
......
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