@@ -64,7 +64,9 @@ module BABYLON {
}
if(node instanceof AbstractMesh){
- this.attachToMesh(node);
+ if(this._attachedMesh != node){
+ this.attachToMesh(node);
+ }
}else{
this.attachToMesh(null);
@@ -3,7 +3,7 @@
"tests": [
{
"title": "Simulate pointer",
- "playgroundId": "#8MGKWK#66",
+ "playgroundId": "#8MGKWK#78",
"referenceImage": "simulatePointer.png",
"excludeFromAutomaticTesting": true
},