Explorar o código

Update copyTools.ts

aWeirdo %!s(int64=4) %!d(string=hai) anos
pai
achega
0867ac31e6
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/Misc/copyTools.ts

+ 0 - 3
src/Misc/copyTools.ts

@@ -14,9 +14,6 @@ export class CopyTools {
      * @returns The base64 encoded string or null
      */
     public static GenerateBase64StringFromTexture(texture: BaseTexture, faceIndex = 0, level = 0): Nullable<string> {
-        if (!texture) {
-            return null;
-        }
 
         var internalTexture = texture.getInternalTexture();
         if (!internalTexture) {