2
0
Mr.doob 12 жил өмнө
parent
commit
937ea35201

+ 2 - 1
src/core/EventDispatcher.js

@@ -77,9 +77,10 @@ THREE.EventDispatcher.prototype = {
 
 		if ( listenerArray !== undefined ) {
 
-			listenerArray = listenerArray.slice();
 			event.target = this;
 
+			listenerArray = listenerArray.slice();
+
 			for ( var i = 0, l = listenerArray.length; i < l; i ++ ) {
 
 				listenerArray[ i ].call( this, event );