Commit 1443208a authored by Rurik Bugdanov's avatar Rurik Bugdanov

disable picking for sliding_sphere

parent f888f6f7
...@@ -938,6 +938,7 @@ X3DOMObject.PointerMarker.prototype._init = function(){ ...@@ -938,6 +938,7 @@ X3DOMObject.PointerMarker.prototype._init = function(){
this._elem = Scene.createMarker(0,0,0,"sliding_sphere"); this._elem = Scene.createMarker(0,0,0,"sliding_sphere");
this._shape = this._elem.find("shape"); this._shape = this._elem.find("shape");
this._shape.attr('isPickable',false);
this._registerEvents(); this._registerEvents();
this._elem.find("switch").attr("whichChoice",-1); this._elem.find("switch").attr("whichChoice",-1);
...@@ -1293,4 +1294,3 @@ X3DOMObject.displayMarkInfo = function(index){ ...@@ -1293,4 +1294,3 @@ X3DOMObject.displayMarkInfo = function(index){
} }
} }
  • Moving the sphere upwards while the curser was over the sphere, the picked distance was the distance to the sphere (until "mouseout") making the movement jerky

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment