Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] Collada import error - NaN
08-21-2020, 07:08 PM (This post was last modified: 10-18-2020 09:05 PM by micheus.)
Post: #1
[fixed] Collada import error - NaN
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>

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
08-21-2020, 07:16 PM
Post: #2
RE: Collada import error - NaN
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.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
08-23-2020, 09:27 AM
Post: #3
RE: Collada import error - NaN
Hi! micheus,
Thank you re-post my report.
I applied your patch,and it working fine now Biggrin
--------------
tkbd
Reply
08-24-2020, 02:56 PM
Post: #4
RE: Collada import error - NaN
Thanks for the feedback.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)