Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_base_node.cpp
Context not available. | |||||
132 | 132 | | |||
---|---|---|---|---|---|
133 | if (opacity() == val) return; | 133 | if (opacity() == val) return; | ||
134 | 134 | | |||
135 | nodeProperties().setProperty("opacity", val); | 135 | setNodeProperty("opacity", val); | ||
136 | 136 | | |||
137 | baseNodeChangedCallback(); | 137 | baseNodeChangedCallback(); | ||
138 | baseNodeInvalidateAllFramesCallback(); | 138 | baseNodeInvalidateAllFramesCallback(); | ||
Context not available. | |||||
177 | setUserLocked(properties.at(1).state.toBool()); | 177 | setUserLocked(properties.at(1).state.toBool()); | ||
178 | } | 178 | } | ||
179 | 179 | | |||
180 | KoProperties & KisBaseNode::nodeProperties() const | 180 | const KoProperties & KisBaseNode::nodeProperties() const | ||
181 | { | 181 | { | ||
182 | return m_d->properties; | 182 | return m_d->properties; | ||
183 | } | 183 | } | ||
184 | 184 | | |||
185 | void KisBaseNode::setNodeProperty(const QString & name, const QVariant & value) | ||||
186 | { | ||||
187 | m_d->properties.setProperty(name, value); | ||||
188 | baseNodeChangedCallback(); | ||||
189 | } | ||||
190 | | ||||
185 | void KisBaseNode::mergeNodeProperties(const KoProperties & properties) | 191 | void KisBaseNode::mergeNodeProperties(const KoProperties & properties) | ||
186 | { | 192 | { | ||
187 | QMapIterator<QString, QVariant> iter = properties.propertyIterator(); | 193 | QMapIterator<QString, QVariant> iter = properties.propertyIterator(); | ||
Context not available. |