diff options
Diffstat (limited to 'src/render/texture/texture.cpp')
-rw-r--r-- | src/render/texture/texture.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/texture/texture.cpp b/src/render/texture/texture.cpp index d8008b60c..749b85802 100644 --- a/src/render/texture/texture.cpp +++ b/src/render/texture/texture.cpp @@ -140,9 +140,6 @@ void Texture::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) } else if (propertyChange->propertyName() == QByteArrayLiteral("depth")) { m_properties.depth = propertyChange->value().toInt(); dirty = DirtyProperties; - } else if (propertyChange->propertyName() == QByteArrayLiteral("maximumLayers")) { - m_properties.layers = propertyChange->value().toInt(); - dirty = DirtyProperties; } else if (propertyChange->propertyName() == QByteArrayLiteral("format")) { m_properties.format = static_cast<QAbstractTexture::TextureFormat>(propertyChange->value().toInt()); dirty = DirtyProperties; |