Definition at line 2066 of file kis_layer_utils.cpp.
◆ MergeSelectionMasks()
◆ populateChildCommands()
| void KisLayerUtils::MergeSelectionMasks::populateChildCommands |
( |
| ) |
|
|
inlineoverridevirtual |
Implements KisCommandUtils::AggregateCommand.
Definition at line 2071 of file kis_layer_utils.cpp.
2071 {
2074
2076 do {
2077 parentLayer = qobject_cast<KisLayer*>(
parent.data());
2078
2080 } while(!parentLayer && parent);
2081
2083
2086 if (!mask) continue;
2087
2090 }
2091
2095
2096 m_info->dstNode = mergedMask;
2097 }
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, 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: