Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt 3D Studio 2.3
-
None
Description
While playing around with the 3d runtime inside the QtDesignStudio with an open preview it crashes with
> Qt5Quick.dll!QQuickItem::window() Line 2917 C++ q3dsstudio3dplugin.dll!Q3DSStudio3DRenderer::renderOffscreen() Line 144 C++ [External Code] [Frames below may be incorrect and/or missing, no symbols loaded for Qt5Core.dll] Unknown [Inline Frame] Qt5Quick.dll!QQuickWindow::beforeRendering() Line 526 C++ Qt5Quick.dll!QQuickWindowPrivate::renderSceneGraph(const QSize & size) Line 461 C++ Qt5Quick.dll!QSGRenderThread::syncAndRender() Line 647 C++ [External Code] Qt5Quick.dll!QSGRenderThread::run() Line 734 C++
code in q3dsstudio3renderer.cpp:
void Q3DSStudio3DRenderer::renderOffscreen() { // m_item may be destroyed already QMutexLocker lock(&m_itemInvalidLock); if (m_itemInvalid) return; QQuickWindow *w = m_item->window(); if (!w) return;
so maybe it is just a check if m_item is valid or maybe set m_itemInvalid if item was destroyed not sure