Definition at line 2071 of file kis_layer_utils.cpp.
◆ MergeSelectionMasks()
◆ populateChildCommands()
| void KisLayerUtils::MergeSelectionMasks::populateChildCommands |
( |
| ) |
|
|
inlineoverridevirtual |
Implements KisCommandUtils::AggregateCommand.
Definition at line 2076 of file kis_layer_utils.cpp.
2076 {
2079
2081 do {
2082 parentLayer = qobject_cast<KisLayer*>(
parent.data());
2083
2085 } while(!parentLayer && parent);
2086
2088
2091 if (!mask) continue;
2092
2095 }
2096
2100
2101 m_info->dstNode = mergedMask;
2102 }
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: