Skip to content

Commit

Permalink
#5607: Make sure the render system is realised by the time we initial…
Browse files Browse the repository at this point in the history
…ise the preview.
  • Loading branch information
codereader committed May 13, 2021
1 parent a88849e commit b75c4f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/wxutil/preview/RenderPreview.cpp
Expand Up @@ -218,6 +218,9 @@ void RenderPreview::initialisePreview()
setLightingModeEnabled(false);
}

// In case it didn't happen until now, make sure the rendersystem is realised
_renderSystem->realise();

updateModelViewMatrix();
}

Expand Down

0 comments on commit b75c4f2

Please sign in to comment.