Add smudge tool

This commit is contained in:
luboslenco
2023-03-15 13:17:28 +01:00
parent 17d8b8c537
commit 08a1cd18ba
15 changed files with 32 additions and 25 deletions
-1
View File
@@ -84,7 +84,6 @@ import arm.ContextBaseFormat;
@:optional public var cloneDeltaX = 0.0;
@:optional public var cloneDeltaY = 0.0;
@:optional public var blurDirectional = false;
@:optional public var showCompass = true;
@:optional public var projectType = ModelRoundedCube;
@:optional public var projectAspectRatio = 0; // 1:1, 2:1, 1:2
+1 -1
View File
@@ -130,7 +130,7 @@ class RenderPathBase {
}
// Match projection matrix jitter
var skipTaa = Context.raw.splitView || ((Context.raw.tool == ToolClone || Context.raw.tool == ToolBlur) && Context.raw.pdirty > 0);
var skipTaa = Context.raw.splitView || ((Context.raw.tool == ToolClone || Context.raw.tool == ToolBlur || Context.raw.tool == ToolSmudge) && Context.raw.pdirty > 0);
@:privateAccess Scene.active.camera.frame = skipTaa ? 0 : RenderPathBase.taaFrame;
@:privateAccess Scene.active.camera.projectionJitter();
Scene.active.camera.buildMatrix();