Wings 3D Development Forum

Full Version: [fixed] Collada import error - NaN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
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.
Hi! micheus,
Thank you re-post my report.
I applied your patch,and it working fine now Biggrin
--------------
tkbd
Thanks for the feedback.