mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 10:21:58 +02:00
Fixed crash when selecting object
This commit is contained in:
1 parent
42fd6bc7b5
commit
04e193011c
1 file changed
+1
-1
@@ -4115,7 +4115,7 @@ void GLCanvas3D::_render_legend_texture() const
|
||||
|
||||
void GLCanvas3D::_render_layer_editing_overlay() const
|
||||
{
|
||||
if (m_print == nullptr)
|
||||
if ((m_print == nullptr) || m_print->objects().empty())
|
||||
return;
|
||||
|
||||
GLVolume* volume = nullptr;
|
||||
|
||||
Reference in new issue
Block a user