Closed bartek5186 closed 10 years ago
Reproduction: 1.On clear project, when we create view3D with camera and add to displayobject. 2.Click right mouse button and turn on contextual menu
To prevent this add if(_collidingObject) in MouseManager3D.as (line 59) before checking that mousePicker have it
public function updateCollider(view : View3D) : void { _previousCollidingObject = _collidingObject; if (view == _activeView && (_forceMouseMove || _updateDirty)) { // If forceMouseMove is off, and no 2D mouse events dirtied the update, don't update either. //add checking is collidingObject exists if(_collidingObject) _collidingObject = _mousePicker.getViewCollision(view.mouseX, view.mouseY, view); } _updateDirty = false; }
duplicate of #601
Reproduction: 1.On clear project, when we create view3D with camera and add to displayobject. 2.Click right mouse button and turn on contextual menu
To prevent this add if(_collidingObject) in MouseManager3D.as (line 59) before checking that mousePicker have it