01-04-2019, 07:38 AM
Thanks tkbd
I couldn't to repeat the problem, but by looking in the dump file (long stack) we see it happens when drawing the status line with the coordinate information for the light; and the format string shown (": Pos ~ts ~ts ~ts") is completely different of the one we can find in the wings_light.erl at the source repository (": Pos ~s") - which is the correct:
So, by doing a search by that bad format string I found it's present in the language files: wings_jp.lang, wings_ko.lang and wings_zh-cn.lang; Like this for the Japanese one:
It's fixed now. Check the Fixes for v2.2.1.
I couldn't to repeat the problem, but by looking in the dump file (long stack) we see it happens when drawing the status line with the coordinate information for the light; and the format string shown (": Pos ~ts ~ts ~ts") is completely different of the one we can find in the wings_light.erl at the source repository (": Pos ~s") - which is the correct:
Code:
Long stack trace:
[{io_lib,format,
[": Pos ~ts ~ts ~ts",
[["<","1.276249"," ","2.836651"," ","-1.273416",">"]]],
[{file,"io_lib.erl"},{line,170}]},
{wings_light,info,1,
[{file,"c:/Users/familjen/src/wings/src/wings_light.erl"},
{line,132}]},
So, by doing a search by that bad format string I found it's present in the language files: wings_jp.lang, wings_ko.lang and wings_zh-cn.lang; Like this for the Japanese one:
Code:
{info,
[
% "Light ~ts"
{1,"Light ~ts"},
% ": Pos ~ts ~ts ~ts"
{2,": Pos ~ts ~ts ~ts"}
]},
It's fixed now. Check the Fixes for v2.2.1.