@ -72,6 +72,8 @@ export class Entity extends CADObject
set Material(materialId: ObjectId)
{
if (materialId === this.materialId) return;
this.WriteAllObjectRecord();
this.materialId = materialId;
for (let [type, obj] of this._CacheDrawObject)