On snap image command,some image data caused that error log created or snap image window was close suddenly.
It caused when select an image by pulldown menu in snap image window.
(Note:The state is non-active display)
Test image files are here.
http://brace.client.jp/wings3d_141/img_prj/test_images.zip
I checked it both of Wings3D v2.2.5 and v2.2.4, and it caused on Wings3D v2.2.5 only .
For example
Error log is here
(Note:It is display that dot-extension with filename, but the data were imported as Internal Image )
-------
tkbd
It caused when select an image by pulldown menu in snap image window.
(Note:The state is non-active display)
Test image files are here.
http://brace.client.jp/wings3d_141/img_prj/test_images.zip
I checked it both of Wings3D v2.2.5 and v2.2.4, and it caused on Wings3D v2.2.5 only .
For example
Quote:At first: these file are Ok
tree_dds_dxt5_GC9.dds --- OK
tree_gifcutout.gif ---- OK
tree_jpg.jpg -------OK
Next, When Add a particular image data(tga24_PSElement9.tdg etc) by imported.
I descovered that If select an image more bellow than the problem image data in the menu list, the snap image window will close.
tree_dds_dxt5_GC9.dds --Ok
tree_gifcutout.gif --- OK
tree_tga24_PSElement9.tga ---- the window suddenly close
tree_jpg.jpg ---- the window suddenly close ( !? )
The image files that caused the problem.
tree_bmp32_alpha_preview.bmp -- Output Error log
tree_bmp16.bmp --- Snap image window close suddenly
tree_bmp24.bmp
tree_bmp32_alpha_pixelmator3.bmp
tree_tga24_PSElement9.tga
Error log is here
(Note:It is display that dot-extension with filename, but the data were imported as Internal Image )
Code:
Dump written 2020-5-13_16-47
Version: 2.2.5
Window: [wpc_snap_win,<0.255.0>]
Reason: {badmatch,{e3d_image,r8g8b8,3,1,lower_left,256,256,
<<"FF FF FF FF FF FF FF"...>>,
"//Users/user/Desktop/test_images/tree_bmp32_no_alpha.bmp",
"tree_bmp32_no_alpha.bmp",[]}}
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}]}]
Code:
Dump written 2020-5-13_16-54
Version: 2.2.5
Window: [wpc_snap_win,<0.210.0>]
Reason: {badmatch,{e3d_image,r8g8b8a8,4,1,lower_left,256,256,
<<255,255,255,0,255,255,255,0,255,...>>,
"//Users/user/Desktop/test_images/tree_dds_dxt5_GC9.dds",
"tree_dds_dxt5_GC9.dds2",[]}}
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}]}]
-------
tkbd