private void ReloadExternStorageStat(ObjectId statId) { IExternStorageMaterial obj = ExternStorageMaterials.FirstOrDefault(e => e.StatId == statId); if (obj == null) { return; } obj.Load(); IMaterial material = _materials.First(m => m.MaterialId == obj.MaterialId); material.Load(); }
public void ReloadMaterial(ObjectId materialId) { IMaterial material = _materials.First(m => m.MaterialId == materialId); material.Load(); }