summaryrefslogtreecommitdiffstats
path: root/src/engine/Qt3DSRenderRuntimeBinding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Qt3DSRenderRuntimeBinding.cpp')
-rw-r--r--src/engine/Qt3DSRenderRuntimeBinding.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/Qt3DSRenderRuntimeBinding.cpp b/src/engine/Qt3DSRenderRuntimeBinding.cpp
index 33f9f5c..038fd8f 100644
--- a/src/engine/Qt3DSRenderRuntimeBinding.cpp
+++ b/src/engine/Qt3DSRenderRuntimeBinding.cpp
@@ -1110,7 +1110,9 @@ struct Qt3DSRenderSceneManager : public Q3DStudio::ISceneManager,
if (theSourcePathStr.size() > 4) {
CRegisteredString theObjectPath = m_SourcePaths[idx].first;
if (qt3ds::runtime::isImagePath(theSourcePathStr.c_str())) {
- theManager.SetImageHasTransparency(theObjectPath, hasTransparency);
+ theManager.SetImageHasTransparency(
+ theObjectPath, hasTransparency,
+ theManager.GetImageHasOpaquePixels(theObjectPath));
if (isIbl)
iblImagePathList.push_back(theObjectPath);
else