summaryrefslogtreecommitdiffstats
path: root/src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h
diff options
context:
space:
mode:
authorJere Tuliniemi <jere.tuliniemi@qt.io>2018-09-28 10:55:42 +0300
committerJere Tuliniemi <jere.tuliniemi@qt.io>2018-10-11 06:36:48 +0000
commitf66c71e16eb58e3819c8ae90bef8448568436912 (patch)
tree3f1e4c1f7f73c339eb1f38bd536f00e33feb8654 /src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h
parentfe04c1301a1a6865fc96ee3a561696015ba3a1ae (diff)
Fix copying when changing from ref to standard mat
When a material was copied, the textures of the new material were still the children of the original material. In addition, copied properties weren't saved to the uip file. Task-number: QT3DS-2399 Change-Id: I644c175b2fb0eafcc0dde4831f10ae95affac308 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h')
-rw-r--r--src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h b/src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h
index 5a98f33b..aa7c27ce 100644
--- a/src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h
+++ b/src/Authoring/QT3DSDM/Systems/Qt3DSDMSlides.h
@@ -171,6 +171,7 @@ public:
virtual void SetSlideSelectedInstance(Qt3DSDMSlideHandle inSlide,
Qt3DSDMInstanceHandle inInstance) = 0;
+ virtual Qt3DSDMSlideHandle GetApplicableSlide(Qt3DSDMInstanceHandle inHandle) = 0;
virtual Qt3DSDMSlideHandle GetApplicableSlide(Qt3DSDMInstanceHandle inHandle,
Qt3DSDMPropertyHandle inProperty) = 0;
@@ -198,4 +199,4 @@ public:
typedef std::shared_ptr<ISlideSystem> TSlideSystemPtr;
}
-#endif \ No newline at end of file
+#endif