Commit 7cb13aa2 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

temp stuff

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8179 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c9d67419
......@@ -1261,10 +1261,10 @@ int FileOBJPlugin::loadObject(QString _filename) {
IdList objIDs;
if ( !OpenFlipper::Options::loadingSettings() ){
OpenFlipper::Options::loadingSettings(true);
topLevelObj = true;
}
// if ( !OpenFlipper::Options::loadingSettings() ){
// OpenFlipper::Options::loadingSettings(true);
// topLevelObj = true;
// }
//load included obj files
for (int i=0; i < includes.size(); i++){
......@@ -1282,8 +1282,8 @@ int FileOBJPlugin::loadObject(QString _filename) {
//check if something was found
if ( importer.objectOptions().size() == 0 && objIDs.size() == 0 ){
if ( topLevelObj )
OpenFlipper::Options::loadingSettings(false);
// if ( topLevelObj )
// OpenFlipper::Options::loadingSettings(false);
return -1;
}
......@@ -1389,8 +1389,8 @@ int FileOBJPlugin::loadObject(QString _filename) {
forceTriangleMesh_ = false;
forcePolyMesh_ = false;
if ( topLevelObj )
OpenFlipper::Options::loadingSettings(false);
// if ( topLevelObj )
// OpenFlipper::Options::loadingSettings(false);
return returnID;
}
......
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