Fixed layer shape missing in some instances

This commit is contained in:
SpoinkyNL committed 2020-02-06 19:10:47 +01:00
1 parent dd9c701738
commit 8f073a5d42
3 files changed
+12 -1

No files matched your search

+3
View File
@@ -35,6 +35,9 @@ namespace Artemis.Core.Models.Profile
_properties = new Dictionary<string, BaseLayerProperty>();
CreateDefaultProperties();
CreateShapeType();
ShapeTypeProperty.ValueChanged += (sender, args) => CreateShapeType();
}
internal Layer(Profile profile, ProfileElement parent, LayerEntity layerEntity)