Commit 13abc8b7 authored by Jan Möbius's avatar Jan Möbius

Load all File Plugins first



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6788 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8c7b6d1f
......@@ -181,8 +181,7 @@ void Core::loadPlugins()
QStringList otherPlugins;
//plugin Liste sortieren
for (int i=0; i < pluginlist.size(); i++)
if (pluginlist[i].contains("FilePolyLine") || pluginlist[i].contains("FileTriangleMesh") ||
pluginlist[i].contains("FilePolyMesh"))
if (pluginlist[i].contains("File") )
filePlugins.push_back(pluginlist[i]);
else if (pluginlist[i].contains("TextureControl"))
textureControl.push_back(pluginlist[i]);
......@@ -1104,6 +1103,7 @@ void Core::loadPlugin(QString filename, bool silent){
QMetaObject::invokeMethod(plugin, "initializePlugin", Qt::DirectConnection);
}
//Check if its a filePlugin
FileInterface* filePlugin = qobject_cast< FileInterface * >(plugin);
if ( filePlugin ){
......
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