Skip to content

Commit

Permalink
Fix a crash recently introduced by b14faf6 (reported in #6794)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmatena committed Aug 11, 2021
1 parent 4c64690 commit 7f2ad14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/slic3r/GUI/Gizmos/GLGizmosManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,9 @@ bool GLGizmosManager::is_in_editing_mode(bool error_notification) const

bool GLGizmosManager::is_hiding_instances() const
{
return (m_common_gizmos_data->instances_hider() && m_common_gizmos_data->instances_hider()->is_valid());
return (m_common_gizmos_data
&& m_common_gizmos_data->instances_hider()
&& m_common_gizmos_data->instances_hider()->is_valid());
}


Expand Down

0 comments on commit 7f2ad14

Please sign in to comment.