Fixed a crash
This commit is contained in:
parent
5c745485e1
commit
c3b1eca2c7
1 changed files with 1 additions and 1 deletions
|
@ -2172,7 +2172,7 @@ void GLCanvas3D::_render_legend_texture() const
|
||||||
|
|
||||||
void GLCanvas3D::_render_layer_editing_overlay() const
|
void GLCanvas3D::_render_layer_editing_overlay() const
|
||||||
{
|
{
|
||||||
if ((m_volumes == nullptr) && (m_print == nullptr))
|
if ((m_volumes == nullptr) || (m_print == nullptr))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GLVolume* volume = nullptr;
|
GLVolume* volume = nullptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue