Layer effects - WIP commit

Profile editor - Show brush icons at different parts in the editor
This commit is contained in:
SpoinkyNL committed 2020-06-10 00:20:43 +02:00
1 parent c99a3aaf3b
commit 2493c2cbf1
28 files changed
+618 -63

No files matched your search

@@ -36,6 +36,11 @@ namespace Artemis.Core.Plugins.LayerBrush.Abstract
/// </summary>
public virtual LayerPropertyGroup BaseProperties => null;
/// <summary>
/// Gets whether the brush supports transformations, RGB.NET brushes never support transformation
/// </summary>
public bool SupportsTransformation { get; protected set; }
public void Dispose()
{
DisableLayerBrush();
@@ -38,6 +38,7 @@ namespace Artemis.Core.Plugins.LayerBrush.Abstract
internal void InitializeProperties(ILayerService layerService)
{
Properties = Activator.CreateInstance<T>();
Properties.LayerBrush = this;
Properties.InitializeProperties(layerService, Layer, "LayerBrush.");
PropertiesInitialized = true;