mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Fixed a crash
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user