We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f875bb7 commit 1c8eadcCopy full SHA for 1c8eadc
src/app/layout/qgslayout3dmapwidget.cpp
@@ -115,6 +115,14 @@ void QgsLayout3DMapWidget::updateCameraPoseWidgetsFromItem()
115
void QgsLayout3DMapWidget::copy3DMapSettings()
116
{
117
Qgs3DMapCanvasDockWidget *dock = _dock3DViewFromSender( sender() );
118
+
119
+ // if this is the first settings passed on, also copy camera details
120
+ if ( !mMap3D->mapSettings() )
121
+ {
122
+ mMap3D->setCameraPose( dock->mapCanvas3D()->cameraController()->cameraPose() );
123
+ updateCameraPoseWidgetsFromItem();
124
+ }
125
126
if ( dock )
127
mMap3D->setMapSettings( new Qgs3DMapSettings( *dock->mapCanvas3D()->map() ) );
128
}
0 commit comments