forked from qt-creator/qt-creator
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:
@@ -195,7 +195,9 @@ static bool isIdToAvoid(const QString& id)
|
||||
"enabled",
|
||||
"anchors",
|
||||
"texture",
|
||||
"shaderInfo"
|
||||
"shaderInfo",
|
||||
"sprite",
|
||||
"spriteSequence"
|
||||
};
|
||||
|
||||
return ids.contains(id);
|
||||
|
Reference in New Issue
Block a user