diff options
author | Antti Määttä <antti.maatta@qt.io> | 2021-04-28 08:19:07 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2021-04-28 09:24:02 +0300 |
commit | e907255b007581a6a44fdc7f3a8ae3349ae9cc1d (patch) | |
tree | 61dc6a37762f9a8e5c12bb6bc20ae44a89875dc6 | |
parent | 36121a1993664b79d4d709c9a9ee92b464cb859e (diff) |
Disable force update for qmlstreams
This was added originally to fix a problem with the rendering.
Normally RenderControl informs us to render the qml when the content
changes, but this was somehow broken in earlier qt versions and animated
qml content was not rendered correctly if we didn't force the rendering.
This seems to be fixed now and we can disable forced rendering.
Task-number: QT3DS-4228
Change-Id: I3da2b369fcb0ce25e755b2c0842771c7345ad856
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
-rw-r--r-- | src/qmlstreamer/q3dsqmlstreamrenderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmlstreamer/q3dsqmlstreamrenderer.cpp b/src/qmlstreamer/q3dsqmlstreamrenderer.cpp index c0cb630..0f7ec8e 100644 --- a/src/qmlstreamer/q3dsqmlstreamrenderer.cpp +++ b/src/qmlstreamer/q3dsqmlstreamrenderer.cpp @@ -490,5 +490,6 @@ void Q3DSQmlStreamRenderer::render() m_program->release(); m_vao->release(); + m_update = false; } } |