裁剪默认的材质贴图

pull/685/head
ChenX 5 years ago
parent ebcc6b774c
commit f43c0c79d4

@ -43,9 +43,9 @@ export class TextureTableRecord extends SymbolTableRecord
async Update()
{
let imgUrl: string;
if (this.imageUrl.endsWith("Default.jpg") || !this.imageUrl)
if (this.imageUrl.endsWith("Default.png") || !this.imageUrl)
{
imgUrl = ResourcesCDN_HOST + "Default.jpg";
imgUrl = ResourcesCDN_HOST + "Default.png";
this.imageUrl = "";
}
else

Loading…
Cancel
Save