Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] Crash when move a SpotLight object.
01-04-2019, 07:38 AM
Post: #2
RE: Crash when move a SpotLight object.
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:
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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Messages In This Thread
RE: Crash when move a SpotLight object. - micheus - 01-04-2019 07:38 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)