[graphics/krita] libs/image/processing: Remove superfluous layer parent check.

Wolthera van Hövell <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 4f20a7b691482929b182f5e6f5e7c533dd99359c by Wolthera van Hövell, on behalf of Wolthera van Hövell tot Westerflier.
Committed on 07/08/2026 at 09:24.
Pushed by woltherav into branch 'master'.

Remove superfluous layer parent check.

M  +0    -1    libs/image/processing/KisContentLightLevelProcessingVistor.cpp

https://invent.kde.org/graphics/krita/-/commit/4f20a7b691482929b182f5e6f5e7c533dd99359c

diff --git a/libs/image/processing/KisContentLightLevelProcessingVistor.cpp b/libs/image/processing/KisContentLightLevelProcessingVistor.cpp
index 49bb0e19f60..e10f9876abd 100644
--- a/libs/image/processing/KisContentLightLevelProcessingVistor.cpp
+++ b/libs/image/processing/KisContentLightLevelProcessingVistor.cpp
@@ -32,7 +32,6 @@ KisContentLightLevelProcessingVistor::~KisContentLightLevelProcessingVistor()
 void KisContentLightLevelProcessingVistor::visit(KisGroupLayer *layer, KisUndoAdapter *undoAdapter)
 {
     Q_UNUSED(undoAdapter)
-    if (layer->parent()) return;
 
     KisPaintDeviceSP projection = layer->projection();
     KisPaintDeviceSP dev = new KisPaintDevice(layer->colorSpace());
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.