diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2018-09-19 06:49:33 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2018-09-19 07:55:31 +0000 |
commit | ab308dedc6a79b794d2110851815f061a0828b29 (patch) | |
tree | 3656a6352a3989431fb9eef0a3ca0a1adc681ead | |
parent | 68f7bea4d815a838864028d0e7b9be6294f88091 (diff) |
Fix updating project palette file references
File references of some texture assets, like the environment maps of
custom materials, did not work.
Task-number: QT3DS-2351
Change-Id: I545fc5dfca3bf4cb28ab1b987d0b1d86bd55bcbc
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
-rw-r--r-- | src/Authoring/Studio/Palettes/Project/ProjectFileSystemModel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Authoring/Studio/Palettes/Project/ProjectFileSystemModel.cpp b/src/Authoring/Studio/Palettes/Project/ProjectFileSystemModel.cpp index 4df59c55..643b6690 100644 --- a/src/Authoring/Studio/Palettes/Project/ProjectFileSystemModel.cpp +++ b/src/Authoring/Studio/Palettes/Project/ProjectFileSystemModel.cpp @@ -173,6 +173,7 @@ void ProjectFileSystemModel::updateReferences() std::for_each(sourcePathList.begin(), sourcePathList.end(), addReferencesPresentation); std::for_each(fontFileList.begin(), fontFileList.end(), addReferencesPresentation); std::for_each(effectTextureList.begin(), effectTextureList.end(), addReferencesProject); + std::for_each(effectTextureList.begin(), effectTextureList.end(), addReferencesPresentation); std::for_each(renderableList.begin(), renderableList.end(), addReferencesRenderable); m_references.insert(projectPath); |