Definition at line 2088 of file kis_layer_utils.cpp.
◆ MergeSelectionMasks()
◆ populateChildCommands()
| void KisLayerUtils::MergeSelectionMasks::populateChildCommands |
( |
| ) |
|
|
inlineoverridevirtual |
Implements KisCommandUtils::AggregateCommand.
Definition at line 2093 of file kis_layer_utils.cpp.
2093 {
2096
2098 do {
2099 parentLayer = qobject_cast<KisLayer*>(
parent.data());
2100
2102 } while(!parentLayer && parent);
2103
2105
2108 if (!mask) continue;
2109
2112 }
2113
2117
2118 m_info->dstNode = mergedMask;
2119 }
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: