Use logprint instead of print
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
46f8415024
commit
3ed52e70e0
1 changed files with 3 additions and 3 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Reference in a new issue