Wings 3D Development Forum
[fixed] Collada import error - NaN - 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] Collada import error - NaN (/showthread.php?tid=2963)



[fixed] Collada import error - NaN - micheus - 08-21-2020

Reported to me by tkbd

tkbd Wrote:I get error log when load a collada data at Wings3D v2.2.6.1 .
/Users/user/Desktop/pencil.dae:78: ERROR: fatal_error:{bad_float,"NaN"}

NaN cause this error, and I fixed NaN NaN NaN to 0.0 0.0 0.0 by manually, The file could Load.

In Line 78.
<float_array id="prim1-normals-array" count="90">0 0 1 ... -0.455145 0.413876 NaN NaN NaN 0.788335 0.455145 0.4 ....</float>



RE: Collada import error - NaN - micheus - 08-21-2020

Thanks for reporting that tkbd

The patch is available for download. Checkout the Bug Report->Patches/Fixes session for v2.2.6 - wings_util.beam.


RE: Collada import error - NaN - tkbd - 08-23-2020

Hi! micheus,
Thank you re-post my report.
I applied your patch,and it working fine now Biggrin
--------------
tkbd


RE: Collada import error - NaN - micheus - 08-24-2020

Thanks for the feedback.