summaryrefslogtreecommitdiffstats
path: root/src/runtime/q3dsuippresentation_p.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2018-09-10 13:48:15 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-09-11 08:07:24 +0000
commit41d130aa70f58189dc12fb27060f0497117ceb17 (patch)
tree49575f563d566fa91858780b06171c953a2a5554 /src/runtime/q3dsuippresentation_p.h
parent156a70ee5dcacba34039e80d2cff158348de717a (diff)
Look-up change flags when creating animation callbacks
mapping the property change to a change flag is expensive, so look-up the change flag when creating the animation callback, as it won't change after that and we can just cache it for later updates. Change-Id: I520a3be298735c55aac6e8e6e8cb2215f2c9d75e Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/runtime/q3dsuippresentation_p.h')
-rw-r--r--src/runtime/q3dsuippresentation_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/q3dsuippresentation_p.h b/src/runtime/q3dsuippresentation_p.h
index ee1210c..9bc6b7c 100644
--- a/src/runtime/q3dsuippresentation_p.h
+++ b/src/runtime/q3dsuippresentation_p.h
@@ -328,7 +328,7 @@ public:
virtual void resolveReferences(Q3DSUipPresentation &) { }
virtual int mapChangeFlags(const Q3DSPropertyChangeList &changeList) const;
- void notifyPropertyChanges(const Q3DSPropertyChangeList &changeList);
+ void notifyPropertyChanges(const Q3DSPropertyChangeList &changeList, int changeFlags = -1);
bool isNode() const { return m_type >= FirstNodeType; }