mirror of https://github.com/qt/qt3d.git
Texture: remove invalid property name
maximumLayers was renamed to layers in the 5.7 release
see commit 26d4260897
Change-Id: Ibe6e55bb5f6ad47181a4584a4eb32cdec3934034
Reviewed-by: Mike Krus <mike.krus@kdab.com>
This commit is contained in:
parent
f5456748d5
commit
5adb8f40f0
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue