diff options
Diffstat (limited to 'src/runtimerender/Qt3DSRenderInputStreamFactory.cpp')
-rw-r--r-- | src/runtimerender/Qt3DSRenderInputStreamFactory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtimerender/Qt3DSRenderInputStreamFactory.cpp b/src/runtimerender/Qt3DSRenderInputStreamFactory.cpp index 1a418b1..5b02164 100644 --- a/src/runtimerender/Qt3DSRenderInputStreamFactory.cpp +++ b/src/runtimerender/Qt3DSRenderInputStreamFactory.cpp @@ -205,6 +205,15 @@ struct SFactory : public IInputStreamFactory } return false; } + bool GetPathForStream(IRefCountedInputStream *stream, QString &outFile) override + { + if (stream) { + SInputStream *theRealStream = static_cast<SInputStream *>(stream); + outFile = theRealStream->m_Path; + return true; + } + return false; + } }; } |