sebavan 5 jaren geleden
bovenliggende
commit
f187788fb7
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      src/Materials/Textures/baseTexture.polynomial.ts

+ 1 - 0
src/Materials/Textures/baseTexture.polynomial.ts

@@ -24,6 +24,7 @@ Object.defineProperty(BaseTexture.prototype, "sphericalPolynomial", {
             if (this._texture.isReady) {
                 this._texture._sphericalPolynomial =
                     CubeMapToSphericalPolynomialTools.ConvertCubeMapTextureToSphericalPolynomial(this);
+                return this._texture._sphericalPolynomial;
             }
         }