fix #IUS70 初始化默认材质没有更新

pull/287/MERGE
ChenX 6 years ago
parent 2cfb7d56bd
commit b35739dd59

@ -61,6 +61,7 @@ export class Database
this.MaterialTable.Add(this.DefaultMaterial);
texture.Update();
this.SettingDefaultMaterial();
}
@ -74,6 +75,7 @@ export class Database
return;
this.DefaultMaterial = this.GetObjectId(71).Object as PhysicalMaterialRecord;
this.DefaultMaterial.Update();
HostApplicationServices.DefaultMeshMaterial = this.DefaultMaterial.Material;
}

Loading…
Cancel
Save