1
0
Fork 0

Use logprint instead of print

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-04-15 21:06:04 +10:00
parent 46f8415024
commit 3ed52e70e0

View file

@ -612,7 +612,7 @@ var findTexByRes = func(path, file, maxRes) {
}
res = res / 2;
}
print("No suiting texture found");
logprint(LOG_WARN, "No suiting texture found", me.path);
return nil;
};
@ -658,7 +658,7 @@ var canvas_livery = {
"size": [resolution, resolution],
"view": [resolution, resolution],
"mipmapping": 1,
# "anisotropy": 1.0
# "anisotropy": 32.0
});
foreach (var object; objects) {
me.targets[name].canvas.addPlacement({"node": object});
@ -736,7 +736,7 @@ var canvas_livery_update = {
"size": [resolution, resolution],
"view": [resolution, resolution],
"mipmapping": 1,
# "anisotropy": 1.0
# "anisotropy": 32.0
});
foreach (var object; objects) {
me.targets[name].canvas.addPlacement({"node": object});