mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 21:01:48 +00:00
advanced async copy of files
This commit is contained in:
@@ -52,6 +52,8 @@ class MaterialEditor
|
||||
if (DrawLockButton(bufferVariable.Flags.HasFlag(.Locked)) && !readOnly)
|
||||
{
|
||||
bufferVariable.[Friend]_flags ^= .Locked;
|
||||
// Also mark as dirty so we update our children!
|
||||
bufferVariable.[Friend]_flags |= .Dirty;
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
@@ -165,6 +167,8 @@ class MaterialEditor
|
||||
if (DrawLockButton(texture.Flags.HasFlag(.Locked)) && !readOnly)
|
||||
{
|
||||
texture.Flags ^= .Locked;
|
||||
// Also mark as dirty so we update our children!
|
||||
texture.Flags |= .Dirty;
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
||||
Reference in New Issue
Block a user