QmlDesigner: Blacklist sprite and spriteSequence as valid ids

QDS can't handle binding a node with same id as the property name,
so "sprite" and "spriteSequence" are no longer considered a valid ids,
as they are property names in SpriteParticle3D.

Fixes: QDS-6178
Change-Id: I21d3af4787015f7a35e1388b381508cf0850589d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Miikka Heikkinen
2022-03-04 12:09:18 +02:00
parent e8e4aada53
commit 23487939bf

View File

@@ -195,7 +195,9 @@ static bool isIdToAvoid(const QString& id)
"enabled",
"anchors",
"texture",
"shaderInfo"
"shaderInfo",
"sprite",
"spriteSequence"
};
return ids.contains(id);