summaryrefslogtreecommitdiffstats
path: root/src/runtime/dragon/materialsystem/dragontechnique.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/dragon/materialsystem/dragontechnique.cpp')
-rw-r--r--src/runtime/dragon/materialsystem/dragontechnique.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/dragon/materialsystem/dragontechnique.cpp b/src/runtime/dragon/materialsystem/dragontechnique.cpp
index bc0f04b..6bd7914 100644
--- a/src/runtime/dragon/materialsystem/dragontechnique.cpp
+++ b/src/runtime/dragon/materialsystem/dragontechnique.cpp
@@ -64,9 +64,7 @@ void Technique::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
switch (e->type()) {
case PropertyUpdated: {
const auto change = qSharedPointerCast<QPropertyUpdatedChange>(e);
- if (change->propertyName() == QByteArrayLiteral("enabled")) {
- markDirty();
- } else if (change->propertyName() == QByteArrayLiteral("graphicsApiFilterData")) {
+ if (change->propertyName() == QByteArrayLiteral("graphicsApiFilterData")) {
m_graphicsApiFilterData = change->value().value<GraphicsApiFilterData>();
markDirty();
}