Mouse3DManager is really slow

Software: Away3D 4.x

BobWarfield, Newbie
Posted: 20 May 2014 11:47 PM   Total Posts: 19

My Away3D application doesn’t even use any of the Away3D mouse support, but the default behavior of Mouse3DManager is really painfully slow.  I know this because if I comment out “onMouseMove”, the performance problems go away.

In my app, I have standard Flex areas and an Away3D area that is bounded by splitter bars.  Trying to resize the splitter bars is terrible once the mouse strays over the Away3D area and the reason is this onMouseMove.

I looked at it briefly and it certainly seems to be awfully busy doing things considering I never ask for any of those services.  It would be helpful if it could either do them faster, be smarter about not doing them at all if I don’t access the services, or if the call to access the Mouse3DManager was available so I could simply call the disableMouseListeners for it.

Alternatively, setting View3D.mouseEnabled = false should remove this overhead and the listeners until needed.

I am using 4.1.6.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X