diff --git a/src/tools/qml2puppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp b/src/tools/qml2puppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp index c7cab45ed4d..6cd39a5a85b 100644 --- a/src/tools/qml2puppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp +++ b/src/tools/qml2puppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp @@ -490,9 +490,9 @@ void Qt5InformationNodeInstanceServer::getNodeAtMainScenePos( auto viewObj = qobject_cast(view.internalObject()); if (viewObj) { - // Render the main view to make sure everything is up to date + // Render the target View3D to make sure everything is up to date updateNodesRecursive(viewObj); - renderWindow(); + grabItem(viewObj); QPointF viewPos = viewObj->mapFromScene(pos);