summaryrefslogtreecommitdiffstats
path: root/src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp')
-rw-r--r--src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp b/src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp
index 52aaa180..a9c581aa 100644
--- a/src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp
+++ b/src/Runtime/Source/UIPParser/Source/Qt3DSUIPParserImpl.cpp
@@ -653,7 +653,7 @@ BOOL CUIPParserImpl::LoadClasses(IPresentation & /*inPresentation*/, IDOMReader
theLoadFlag = m_MetaData.LoadEffectXMLFile(inReader.GetNarrowElementName(),
theId, theName,
theFullPath.toUtf8().data());
- } else if (theFullPath.endsWith(".material")) {
+ } else if (theFullPath.endsWith(".material") || theFullPath.endsWith(".shader")) {
theLoadFlag = m_MetaData.LoadMaterialXMLFile(
inReader.GetNarrowElementName(), theId, theName,
theFullPath.toUtf8().data());