Hi all,

I'm migrating a project from Away3d 3.5 to 3.6. After update all the
code and run i get this error:

ArgumentError: Error #2183: Scale values must not be zero.
        at flash.geom::Matrix3D/prependScale()
        at away3d.core.base::Object3D/updateTransform()
        at away3d.core.base::Object3D/get sceneTransform()
        at away3d.core.traverse::ProjectionTraverser/match()
        at away3d.core.base::Object3D/traverse()
        at away3d.containers::ObjectContainer3D/traverse()
        at away3d.containers::ObjectContainer3D/traverse()
        at away3d.containers::ObjectContainer3D/traverse()
        at away3d.containers::View3D/render()

This error appears when i launch an internal animation from a loaded
collada that scales one of its meshes to [0,0,0].

I fixed it writing this lines prior to line 525 on
away3d.core.base.Object3D ->
if (_scaleX == 0) { _scaleX = .001; }
if (_scaleY == 0) { _scaleY = .001; }
if (_scaleZ == 0) { _scaleZ = .001; }

But i don't like this solution, anyone can say the reason of this
error? Maybe the Away3d team will solve this error in the future?

Thanks in advance

Reply via email to