Fix 2d paint jitter for live brush
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -291,7 +291,7 @@ class RenderPathPaint {
|
||||
liveLayerLocked = use;
|
||||
}
|
||||
|
||||
public static function commandsLiveBrush() {
|
||||
static function commandsLiveBrush() {
|
||||
|
||||
var tool = Context.tool;
|
||||
if (tool != ToolBrush &&
|
||||
|
||||
Reference in New Issue
Block a user