浏览代码

change textureLinkLineComponent to load textures non-inverted

Nicholas Barlow 6 年之前
父节点
当前提交
f6c2dacdaa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      inspector/src/components/actionTabs/lines/textureLinkLineComponent.tsx

+ 1 - 1
inspector/src/components/actionTabs/lines/textureLinkLineComponent.tsx

@@ -140,7 +140,7 @@ export class TextureLinkLineComponent extends React.Component<ITextureLinkLineCo
             var blob = new Blob([data], { type: "octet/stream" });
             var blob = new Blob([data], { type: "octet/stream" });
             var url = URL.createObjectURL(blob);
             var url = URL.createObjectURL(blob);
 
 
-            let texture = new Texture(url, material.getScene());
+            let texture = new Texture(url, material.getScene(), false, false);
 
 
             (material as any)[this.props.propertyName!] = texture;
             (material as any)[this.props.propertyName!] = texture;