2
0
Эх сурвалжийг харах

HemisphereLight: Use super in copy(). (#24060)

Michael Herzog 3 жил өмнө
parent
commit
1b1098c22d

+ 1 - 1
src/lights/HemisphereLight.js

@@ -19,7 +19,7 @@ class HemisphereLight extends Light {
 
 
 	copy( source ) {
 	copy( source ) {
 
 
-		Light.prototype.copy.call( this, source );
+		super.copy( source );
 
 
 		this.groundColor.copy( source.groundColor );
 		this.groundColor.copy( source.groundColor );