comparison framework/SVFileReader.cpp @ 82:1fa8d5e28d0f

* Add plugin version to Transform record * Warn when the plugin version being used to restore or regenerate a layer is not the same as the one originally used to create it
author Chris Cannam
date Fri, 25 Jan 2008 18:15:57 +0000
parents b1a68403714b
children 3b616971bdc6
comparison
equal deleted inserted replaced
81:0948bf800422 82:1fa8d5e28d0f
1193 if (m_currentDerivedModelId < 0) { 1193 if (m_currentDerivedModelId < 0) {
1194 std::cerr << "WARNING: SV-XML: Transform found outside derivation" << std::endl; 1194 std::cerr << "WARNING: SV-XML: Transform found outside derivation" << std::endl;
1195 return false; 1195 return false;
1196 } 1196 }
1197 1197
1198 m_currentTransform = Transform();
1198 m_currentTransform.setFromXmlAttributes(attributes); 1199 m_currentTransform.setFromXmlAttributes(attributes);
1199 return true; 1200 return true;
1200 } 1201 }
1201 1202
1202 bool 1203 bool