Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_layer.cc
Show First 20 Lines • Show All 210 Lines • ▼ Show 20 Line(s) | 199 | { | |||
---|---|---|---|---|---|
211 | } | 211 | } | ||
212 | } | 212 | } | ||
213 | 213 | | |||
214 | KisBaseNode::PropertyList KisLayer::sectionModelProperties() const | 214 | KisBaseNode::PropertyList KisLayer::sectionModelProperties() const | ||
215 | { | 215 | { | ||
216 | KisBaseNode::PropertyList l = KisBaseNode::sectionModelProperties(); | 216 | KisBaseNode::PropertyList l = KisBaseNode::sectionModelProperties(); | ||
217 | l << KisBaseNode::Property(KoID("opacity", i18n("Opacity")), i18n("%1%", percentOpacity())); | 217 | l << KisBaseNode::Property(KoID("opacity", i18n("Opacity")), i18n("%1%", percentOpacity())); | ||
218 | 218 | | |||
219 | if (compositeOp()) { | 219 | const KoCompositeOp * compositeOp = this->compositeOp(); | ||
220 | l << KisBaseNode::Property(KoID("compositeop", i18n("Composite Mode")), compositeOp()->description()); | 220 | | ||
221 | if (compositeOp) { | ||||
222 | l << KisBaseNode::Property(KoID("compositeop", i18n("Composite Mode")), compositeOp->description()); | ||||
221 | } | 223 | } | ||
222 | 224 | | |||
223 | if (m_d->layerStyle && !m_d->layerStyle->isEmpty()) { | 225 | if (m_d->layerStyle && !m_d->layerStyle->isEmpty()) { | ||
224 | l << KisLayerPropertiesIcons::getProperty(KisLayerPropertiesIcons::layerStyle, m_d->layerStyle->isEnabled()); | 226 | l << KisLayerPropertiesIcons::getProperty(KisLayerPropertiesIcons::layerStyle, m_d->layerStyle->isEnabled()); | ||
225 | } | 227 | } | ||
226 | 228 | | |||
227 | l << KisLayerPropertiesIcons::getProperty(KisLayerPropertiesIcons::inheritAlpha, alphaChannelDisabled()); | 229 | l << KisLayerPropertiesIcons::getProperty(KisLayerPropertiesIcons::inheritAlpha, alphaChannelDisabled()); | ||
228 | 230 | | |||
▲ Show 20 Lines • Show All 631 Lines • Show Last 20 Lines |