mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Profiles - Better implementation of Enable/Disable while in editor
This commit is contained in:
1 parent
bd75f1038e
commit
b8578a9cce
3 files changed
+23
-15
No files matched your search
@@ -180,7 +180,7 @@ namespace Artemis.Core
|
||||
throw new ObjectDisposedException("Folder");
|
||||
|
||||
// Ensure the folder is ready
|
||||
if (!Enabled || Suspended || Path == null)
|
||||
if (!Enabled || Path == null)
|
||||
return;
|
||||
|
||||
// No point rendering if all children are disabled
|
||||
|
||||
@@ -289,7 +289,7 @@ namespace Artemis.Core
|
||||
throw new ObjectDisposedException("Layer");
|
||||
|
||||
// Ensure the layer is ready
|
||||
if (!Enabled || Suspended || Path == null || LayerShape?.Path == null || !General.PropertiesInitialized || !Transform.PropertiesInitialized)
|
||||
if (!Enabled || Path == null || LayerShape?.Path == null || !General.PropertiesInitialized || !Transform.PropertiesInitialized)
|
||||
return;
|
||||
// Ensure the brush is ready
|
||||
if (LayerBrush == null || LayerBrush?.BaseProperties?.PropertiesInitialized == false)
|
||||
|
||||
Reference in new issue
Block a user