浏览代码

Update copyTools.ts

aWeirdo 4 年之前
父节点
当前提交
2279eebfb8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Misc/copyTools.ts

+ 1 - 1
src/Misc/copyTools.ts

@@ -19,7 +19,7 @@ export class CopyTools {
         }
 
         var internalTexture = texture.getInternalTexture();
-        if (!internalTexture || internalTexture.isCube) {
+        if (!internalTexture) {
             return null;
         }