Commit afc498e2 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Don't update sceneTransform for direct movements



I am not sure that it breaks something but after much testing it looks
like it is smoother without.

Change-Id: Ibb9d59660f957901cfdf5f2a7ba2e17d4245197b
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent 25e608cb
......@@ -480,7 +480,7 @@ InformationName NodeInstance::setInformationIsInLayoutable(bool isInLayoutable)
InformationName NodeInstance::setInformationSceneTransform(const QTransform &sceneTransform)
{
if (d->sceneTransform != sceneTransform) {
if (!directUpdates() && d->sceneTransform != sceneTransform) {
d->sceneTransform = sceneTransform;
return SceneTransform;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment