Wings 3D Development Forum
[fixed] Lightwave export crash - 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] Lightwave export crash (/showthread.php?tid=2518)



[fixed] Lightwave export crash - ScifiX - 05-10-2017

The following file cannot be exported in LWO format:
https://drive.google.com/open?id=0Bx868VntwSYwQ1NyT2w2Vld6WEE

Export works fine in .OBJ format. Here is an output of the log window :

Exporter crashed: function_clause

[{lists,zip3,
[[<<0,210>>,<<0,212>>,<<0,213>>,<<0,211>>],
[<<0,249>>,<<0,249>>,<<0,249>>,<<0,249>>],
[]],
[{file,"lists.erl"},{line,417}]},
{wpc_lwo,zip_lists_3,3,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,245}]},
{wpc_lwo,'-make_vmad_uv2/2-fun-0-',2,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,267}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{wpc_lwo,make_vmad_uv,1,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,254}]},
{wpc_lwo,make_object,3,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,99}]},
{wpc_lwo,'-make_objects_chunk/2-lc$^0/1-0-',2,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,79}]},
{wpc_lwo,'-make_objects_chunk/2-lc$^0/1-0-',2,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,79}]},
{wpc_lwo,make_lwo,1,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,69}]},
{wpc_lwo,export,2,
[{file,"c:/Users/familjen/src/wings/plugins_src/import_export/wpc_lwo.erl"},
{line,58}]},
{wings_export,export,4,[{file,[...]},{line,...}]},
{wings_file,'-export_filename_1/2-fun-0-',3,[{file,...},{...}]},
{wings_develop,time_command,2,[{...}|...]},
{wings_plugin,command,3,[...]},
{wings,raw_command_1,3,...},
{wings,raw_command,...},
{wings_wm,...},
{...}|...]


Thanks in advance for your support!


RE: Lightwave export crash - micheus - 05-23-2017

ScifiX, I found the problem related to exporting UV map data. For some reasons it was processing faces without UV info. (Your model seems to have some strange UV mapping).

I don't have Lightwave to test the result, so please try it and tell me if everything is OK when your project is load into it.

Got to Some fixes to be applied to v2.1.5