Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[suspended] Text primitive alternative(cjk support) for Wings3D 2.1.6
04-23-2018, 08:12 PM
Post: #1
[suspended] Text primitive alternative(cjk support) for Wings3D 2.1.6
Recently,I tried to re-compile text primitve plugin's alternative version(wpc_alt_tt) for Wings3D 2.1.6.
(It contains CJK string support , Horizontal/Vertical text direction and pulldown menu font list)

Compile successful and Dialyzer passed, then install the plugin.
(installed both of wpc_tt and wpc_alt_tt, OK)

It is almost working,but....there is a trouble.
This plugin's RMB command dialog can't re-open.

*First time, wpc_alt_tt dialog is opened with RMB command and work fine, but 2nd times,the dialog doesn't open and Error message outputed.
Then,finally Wings3D crash when quit the application.

It seems that Errors related to wxWigdet, it is out of hand for me.
When I enable the debug messages of wings_dialog.erl, I do not see the UI being completely loaded.
So I fixed the arrangement of the dialog UI.The result was the same.

Is there a part where the module name is wrong somewhere?
My motivation is exhausted Sad.

The following error log was output and MEMO.
Code:
Dump written 2018-4-19_18-1
Version: 2.1.6
OS: Mac OS X (Darwin 16.7.0 x86_64)
GPU: Intel Inc. | Intel Iris OpenGL Engine
Window: geom
Reason: {{{badarg,4751},{wxDialog,new_4,4}},
         [{wxe_util,rec,1,[{file,"wxe_util.erl"},{line,84}]},
          {wings_dialog,'-build_dialog/3-fun-0-',3,
                        [{file,"wings_dialog.erl"},{line,785}]},
          {wx,batch,1,[{file,"wx.erl"},{line,184}]},
          {wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,262}]},
          {wings,execute_command,3,[{file,"wings.erl"},{line,655}]},
          {wings_develop,time_command,2,
                         [{file,"wings_develop.erl"},{line,79}]},
          {wings,raw_command,4,[{file,"wings.erl"},{line,629}]},
          {wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,957}]},
          {wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,923}]},
          {wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,824}]},
          {wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,651}]},
          {wings,init_part2,2,[{file,"wings.erl"},{line,104}]},
          {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

Short stack trace:
[]

Long stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,186}]},
{wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,262}]},
{wings,execute_command,3,[{file,"wings.erl"},{line,655}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,79}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,629}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,957}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,923}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,824}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,651}]},
{wings,init_part2,2,[{file,"wings.erl"},{line,104}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]


Contents of form data handled by Command function (MEMO)
Code:
[{{wpc_tft_alt,text},"Wings 3D"},
               {{wpc_tft_alt,codi},horizontal},
               {{wpc_tft_alt,selfont},"__usefontselector__"},
               {{wpc_tft_alt,bisections},1},
               {fontdir,"unknown"},
               {rot_x,0.0},
               {rot_y,0.0},
               {rot_z,0.0},
               {mov_x,0.0},
               {mov_y,0.0},
               {mov_z,0.0},
               {ground,false}]
Reply


Forum Jump:


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