Skip to content

Commit

Permalink
Avoid grid3D crash (#227)
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde authored May 27, 2021
1 parent 4a0159b commit bf50949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/grid_3d/Grid3D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ namespace plugins
class Grid3DPrivate
{
/// brief Parent window
public: QQuickWindow *quickWindow;
public: QQuickWindow *quickWindow = nullptr;

/// \brief We keep a pointer to the engine and rely on it not being
/// destroyed, since it is a singleton.
public: rendering::RenderEngine *engine;
public: rendering::RenderEngine *engine = nullptr;

/// \brief We keep the scene name rather than a shared pointer because we
/// don't want to share ownership.
Expand Down

0 comments on commit bf50949

Please sign in to comment.