mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Feature/new formatting (#547)
* Change to new logging format (closes #542) * Adds a screenshots folder that uses the application startup time * Creating focus nodes for VRT files if the info files contain location information * Fix issue with removing virtual properties * Add a method for returning the cartesian coordinates for a geolocation on a planet
This commit is contained in:
@@ -96,7 +96,7 @@ double LuaScale::scaleValue(const Time& time) const {
|
||||
if (!isFunction) {
|
||||
LERRORC(
|
||||
"LuaScale",
|
||||
"Script '" << _luaScriptFile << "' does not have a function 'scale'"
|
||||
fmt::format("Script '{}' does not have a function 'scale'", _luaScriptFile)
|
||||
);
|
||||
return 0.0;
|
||||
}
|
||||
@@ -119,7 +119,7 @@ double LuaScale::scaleValue(const Time& time) const {
|
||||
if (success != 0) {
|
||||
LERRORC(
|
||||
"LuaScale",
|
||||
"Error executing 'scale': " << lua_tostring(_state, -1)
|
||||
fmt::format("Error executing 'scale': {}", lua_tostring(_state, -1))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user