Commit 0f93e8cf authored by Jan Möbius's avatar Jan Möbius

iPossible null pointer deref



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13302 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d5499f4f
......@@ -227,10 +227,12 @@ int FileLightPlugin::loadObject(QString _filename)
settings.endGroup();
}
emit updatedObject( lightObject->id(), UPDATE_ALL );
emit openedFile( lightObject->id() );
}
emit updatedObject( lightObject->id(), UPDATE_ALL );
emit openedFile( lightObject->id() );
}
return id;
......
......@@ -139,10 +139,13 @@ int FileSPHPlugin::loadObject(QString _filename)
settings.endGroup();
}
emit updatedObject( sphereObject->id(), UPDATE_ALL );
emit openedFile( sphereObject->id() );
}
emit updatedObject( sphereObject->id(), UPDATE_ALL );
emit openedFile( sphereObject->id() );
}
return id;
......
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