diff --git a/Sources/arm/render/Inc.hx b/Sources/arm/render/Inc.hx index 21effc84..954e3c31 100644 --- a/Sources/arm/render/Inc.hx +++ b/Sources/arm/render/Inc.hx @@ -183,8 +183,8 @@ class Inc { var moved = (mx != lastX || my != lastY) && (inViewport || in2dView); if (moved || Context.brushLocked) { Context.rdirty = 2; - Context.sub = 0; } + Context.sub = 0; } if (Context.ddirty <= 0 && Context.rdirty <= 0 && (Context.pdirty <= 0 || UIHeader.inst.worktab.position == SpaceRender)) { diff --git a/Sources/arm/render/RenderPathPaint.hx b/Sources/arm/render/RenderPathPaint.hx index 914f59bc..c676a7cd 100644 --- a/Sources/arm/render/RenderPathPaint.hx +++ b/Sources/arm/render/RenderPathPaint.hx @@ -291,7 +291,7 @@ class RenderPathPaint { liveLayerLocked = use; } - public static function commandsLiveBrush() { + static function commandsLiveBrush() { var tool = Context.tool; if (tool != ToolBrush &&