Skip to content

Commit

Permalink
Fixed issue 23: Temporary template is now correctly handled
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoesmp committed Apr 5, 2021
1 parent 0010b86 commit 1036dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assetloading/XmlAssetsLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ std::shared_ptr<ScannerSettings> XmlAssetsLoader::createScannerSettingsFromXml(
bla = scannerTemplates[templateId];
}
if (bla != nullptr) {
template1 = bla;
template1 = std::make_shared<ScannerSettings>(*bla);
// ATTENTION:
// We need to temporarily convert the head rotation settings from radians back to degrees, since degrees
// is the unit in which they are read from the XML, and below, the template settings are used as defaults
Expand Down

0 comments on commit 1036dbf

Please sign in to comment.