mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed crash when selecting object
This commit is contained in:
parent
42fd6bc7b5
commit
04e193011c
1 changed files with 1 additions and 1 deletions
|
@ -4115,7 +4115,7 @@ void GLCanvas3D::_render_legend_texture() const
|
||||||
|
|
||||||
void GLCanvas3D::_render_layer_editing_overlay() const
|
void GLCanvas3D::_render_layer_editing_overlay() const
|
||||||
{
|
{
|
||||||
if (m_print == nullptr)
|
if ((m_print == nullptr) || m_print->objects().empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GLVolume* volume = nullptr;
|
GLVolume* volume = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue