Skip to content

Commit

Permalink
Update src/3d/qgscameracontroller.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 14, 2025
1 parent 3579992 commit 95fff02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3d/qgscameracontroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ class _3D_EXPORT QgsCameraController : public QObject
QImage mDepthBufferImage;
// -1 when unset
// TODO: Change to std::optional<double>
double mDepthBufferNonVoidAverage;
double mDepthBufferNonVoidAverage = -1;

std::unique_ptr<Qt3DRender::QCamera> mCameraBefore;

Expand Down

0 comments on commit 95fff02

Please sign in to comment.