Commit 8a2edfa1 authored by David Thompson's avatar David Thompson
Browse files

Mark all saved models modified so they become clean.

parent 9d83f8bc
......@@ -127,7 +127,6 @@ OperatorResult SaveSMTKModel::operateInternal()
}
smtkDebugMacro(this->log(), "Renaming " << oldmodelname << " to " << newname.str());
modit->setName(newname.str());
modified.push_back(*modit);
}
}
......@@ -143,6 +142,8 @@ OperatorResult SaveSMTKModel::operateInternal()
smtk::common::FileLocation wfLocation(write_path, smtkfilepath);
(*cit)->writeLocation(wfLocation);
}
modified.push_back(*modit); // All models saved should be marked clean.
}
smtk::io::SaveJSON::forManagerSessionPartial(
......
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