Definition at line 2040 of file kis_layer_utils.cpp.
◆ MergeSelectionMasks()
◆ populateChildCommands()
| void KisLayerUtils::MergeSelectionMasks::populateChildCommands |
( |
| ) |
|
|
inlineoverridevirtual |
Implements KisCommandUtils::AggregateCommand.
Definition at line 2045 of file kis_layer_utils.cpp.
2045 {
2048
2050 do {
2051 parentLayer = qobject_cast<KisLayer*>(
parent.data());
2052
2054 } while(!parentLayer && parent);
2055
2057
2060 if (!mask) continue;
2061
2064 }
2065
2069
2070 m_info->dstNode = mergedMask;
2071 }
ChildIterator< value_type, is_const > parent(const ChildIterator< value_type, is_const > &it)
static void findPerfectParent(KisNodeList nodesToDelete, KisNodeSP &putAfter, KisNodeSP &parent)
void initSelection(KisSelectionSP copyFrom, KisLayerSP parentLayer)
initSelection initializes the selection for the mask from the given selection's projection.
void applySelection(KisPixelSelectionSP selection, SelectionAction action)
void setSelection(KisSelectionSP selection)
Set the selection of this adjustment layer to a copy of selection.
KisPixelSelectionSP pixelSelection
References KisPixelSelection::applySelection(), KisSharedPtr< T >::data(), KisLayerUtils::CleanUpNodes::findPerfectParent(), KisMask::initSelection(), m_info, m_putAfter, KisSelection::pixelSelection, KisMask::selection, SELECTION_ADD, and KisSelectionMask::setSelection().
◆ m_info
◆ m_putAfter
| KisNodeSP KisLayerUtils::MergeSelectionMasks::m_putAfter |
|
private |
The documentation for this struct was generated from the following file: