From 97579ffd1b0dbd66b827b292f5f4b0a39e4e3aff Mon Sep 17 00:00:00 2001 From: Lubos Lenco Date: Sat, 4 Dec 2021 19:44:58 +0100 Subject: [PATCH] Fix decal symmetry --- Sources/arm/node/MakePaint.hx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/arm/node/MakePaint.hx b/Sources/arm/node/MakePaint.hx index 5d39ba21..febdbcf9 100644 --- a/Sources/arm/node/MakePaint.hx +++ b/Sources/arm/node/MakePaint.hx @@ -118,9 +118,10 @@ class MakePaint { if (Config.raw.brush_3d && !Config.raw.brush_depth_reject) depthReject = false; // TODO: sp.z needs to take height channel into account - if (Config.raw.brush_3d && !decal && MakeMaterial.heightUsed) depthReject = false; - - if (Context.symX || Context.symY || Context.symZ) depthReject = false; + var particle = Context.tool == ToolParticle; + if (Config.raw.brush_3d && !decal && !particle) { + if (MakeMaterial.heightUsed || Context.symX || Context.symY || Context.symZ) depthReject = false; + } if (depthReject) { #if (kha_direct3d11 || kha_direct3d12 || kha_metal || kha_vulkan)