diff options
author | Christian Strømme <christian.stromme@qt.io> | 2018-05-23 15:32:37 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@qt.io> | 2018-05-23 15:14:54 +0000 |
commit | b7e63b82396abfb25e1c31443ed6c7f9437aa30d (patch) | |
tree | c18e2fc030f39aadb9277bc02ff1dc0a99c1ce45 /src/runtime/q3dsslideplayer_p.h | |
parent | 9fde01d51d1be7bd630a85f763f0e512b4b2d9d5 (diff) |
Fix eyeball updates for effects
We need to update these the same way we do node types, which includes
storing the rollback data to reset the values once the slide changes.
Change-Id: I2f59a68d279d00c331ca63f29885c1b0552008a9
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/runtime/q3dsslideplayer_p.h')
-rw-r--r-- | src/runtime/q3dsslideplayer_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/q3dsslideplayer_p.h b/src/runtime/q3dsslideplayer_p.h index 2ffdc62..7441bb5 100644 --- a/src/runtime/q3dsslideplayer_p.h +++ b/src/runtime/q3dsslideplayer_p.h @@ -144,7 +144,7 @@ private: // TODO: Move out to a "slide manager"? void setSlideTime(Q3DSSlide *slide, float time, bool parentVisible = true); void sendPositionChanged(Q3DSSlide *slide, float pos); - void updateNodeVisibility(Q3DSNode *node, bool visible); + void updateObjectVisibility(Q3DSGraphObject *obj, bool visible); bool isSlideVisible(Q3DSSlide *slide); void processPropertyChanges(Q3DSSlide *currentSlide); |