Commit 4c52b7da authored by Jan Möbius's avatar Jan Möbius
Browse files

Print Object info after fileOpened in core not in file plugins

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8396 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 47054eaf
...@@ -1376,7 +1376,6 @@ int FileOBJPlugin::loadObject(QString _filename) { ...@@ -1376,7 +1376,6 @@ int FileOBJPlugin::loadObject(QString _filename) {
#endif #endif
//general stuff //general stuff
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( object->id() ); emit openedFile( object->id() );
//textures //textures
......
...@@ -919,7 +919,6 @@ int FileOFFPlugin::loadObject(QString _filename) { ...@@ -919,7 +919,6 @@ int FileOFFPlugin::loadObject(QString _filename) {
} }
//general stuff //general stuff
emit log( LOGINFO, object->getObjectinfo() );
emit openedFile( object->id() ); emit openedFile( object->id() );
// Update viewport // Update viewport
......
...@@ -132,7 +132,6 @@ int FileOMPlugin::loadObject(QString _filename) { ...@@ -132,7 +132,6 @@ int FileOMPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -184,7 +183,6 @@ int FileOMPlugin::loadObject(QString _filename) { ...@@ -184,7 +183,6 @@ int FileOMPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
return objectId; return objectId;
...@@ -199,7 +197,6 @@ int FileOMPlugin::loadObject(QString _filename) { ...@@ -199,7 +197,6 @@ int FileOMPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -213,7 +210,6 @@ int FileOMPlugin::loadObject(QString _filename) { ...@@ -213,7 +210,6 @@ int FileOMPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -229,7 +225,6 @@ int FileOMPlugin::loadObject(QString _filename) { ...@@ -229,7 +225,6 @@ int FileOMPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
......
...@@ -132,7 +132,6 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -132,7 +132,6 @@ int FilePLYPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -183,7 +182,6 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -183,7 +182,6 @@ int FilePLYPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
return objectId; return objectId;
...@@ -198,7 +196,6 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -198,7 +196,6 @@ int FilePLYPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -212,7 +209,6 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -212,7 +209,6 @@ int FilePLYPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
...@@ -228,7 +224,6 @@ int FilePLYPlugin::loadObject(QString _filename) { ...@@ -228,7 +224,6 @@ int FilePLYPlugin::loadObject(QString _filename) {
if(PluginFunctions::getObject( objectId, object )) { if(PluginFunctions::getObject( objectId, object )) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( objectId ); emit openedFile( objectId );
} }
......
...@@ -123,8 +123,6 @@ int FileSTLPlugin::loadObject(QString _filename) { ...@@ -123,8 +123,6 @@ int FileSTLPlugin::loadObject(QString _filename) {
object->show(); object->show();
emit log(LOGINFO,object->getObjectinfo());
emit openedFile( object->id() ); emit openedFile( object->id() );
return object->id(); return object->id();
......
Supports Markdown
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