Wings 3D Development Forum
[fixed] Snap Image window error - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [fixed] Snap Image window error (/showthread.php?tid=2880)



[fixed] Snap Image window error - tkbd - 01-02-2020

It happend on SnapImage command apply for an object that has already UVmapping-ed.

How to recreate:?
  1. Import a image for use texture.
  2. A cube make and apply UVmapping command(The cube has abcdefg... texture)
  3. Open SnapImage window,for apply the cube.
  4. Choose the image from the pull-down menu.
  5. Then,SnapImage Window close suddenly and error.
Quote:Dump written 2020-1-2_21-13
Version: 2.2.5
Window: [wpc_snap_win,<0.26442.0>]
Reason: {badmatch,{e3d_image,r8g8b8,3,1,lower_left,512,512,
<<106,78,0,106,78,0,106,78,0,...>>,
"//Users/user/Desktop/file/obj/wood.png",
"wood.png",[]}}

Stack trace:
[{wpc_snap_win,handle_event,2,[{file,"wpc_snap_win.erl"},{line,664}]},
{wx_object,handle_msg,5,[{file,"wx_object.erl"},{line,468}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]

Also I get a following error in console
Quote:2020-01-02T21:45:07.602793+09:00 error:
** wx object server <0.203.0> terminating
** Last message in was {wx,-2089,
{wx_ref,2442,wxComboBox,[]},
[],
{wxCommand,command_combobox_selected,"wood.png",2,
0}}
** When Server state == {state,{wx_ref,2440,wxPanel,[]},
{plugin,snap},
[],
{0....

MacOS 10.14.6
Wings3Dd 2.2.5