فهرست منبع

Optimized Merge Node

Krzysztof Krysiński 3 ماه پیش
والد
کامیت
eec33dd7f5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/MergeNode.cs

+ 1 - 1
src/PixiEditor.ChangeableDocument/Changeables/Graph/Nodes/MergeNode.cs

@@ -52,7 +52,7 @@ public class MergeNode : RenderNode
 
     private void Merge(DrawingSurface target, RenderContext context)
     {
-        if (Bottom.Value != null && Top.Value != null)
+        if (Bottom.Value != null && Top.Value != null && BlendMode.Value != Enums.BlendMode.Normal)
         {
             int saved = target.Canvas.SaveLayer();
             Bottom.Value?.Paint(context, target);