Commit 71d709f9 authored by Jan Möbius's avatar Jan Möbius

Don't explicitly add groups to ini files.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13959 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6b7addde
......@@ -643,7 +643,7 @@ void VolumeMeshSelectionPlugin::saveIniFile(INIFile& _ini, int _id) {
//==============================================================================================
void VolumeMeshSelectionPlugin::slotLoadSelection(const INIFile& _file) {
void VolumeMeshSelectionPlugin::slotLoadSelection(INIFile& _file) {
// Iterate over all polyhedral mesh objects in the scene and save
// the selections for all supported entity types
......@@ -698,11 +698,6 @@ void VolumeMeshSelectionPlugin::slotSaveSelection(INIFile& _file) {
// Create section for each object
// Append object name to section identifier
QString section = QString("PolyhedralMeshSelection") + "//" + o_it->name();
if(!_file.section_exists(section)) {
_file.add_section(section);
} else {
continue;
}
// Store vertex selection:
_file.add_entry(section, "VertexSelection", getVertexSelection(o_it->id()));
......
......@@ -133,7 +133,7 @@ private slots:
void slotToggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void slotCustomSelection(QMouseEvent *_event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier, bool _deselect);
void slotLoadSelection(const INIFile& _file);
void slotLoadSelection(INIFile& _file);
void slotSaveSelection(INIFile& _file);
void slotKeyShortcutEvent(int _key, Qt::KeyboardModifiers _modifiers);
......
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