Remove irrelevant asserts
This commit is contained in:
parent
bb4bf85fb3
commit
b4133fcf96
1 changed files with 0 additions and 3 deletions
|
@ -576,9 +576,6 @@ bool GLGizmoEmboss::on_mouse(const wxMouseEvent &mouse_event)
|
||||||
if (mouse_event.Moving()) return false;
|
if (mouse_event.Moving()) return false;
|
||||||
|
|
||||||
// not selected volume
|
// not selected volume
|
||||||
assert(m_volume != nullptr);
|
|
||||||
assert(priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) != nullptr);
|
|
||||||
assert(m_volume->text_configuration.has_value());
|
|
||||||
if (m_volume == nullptr ||
|
if (m_volume == nullptr ||
|
||||||
priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr ||
|
priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr ||
|
||||||
!m_volume->text_configuration.has_value()) return false;
|
!m_volume->text_configuration.has_value()) return false;
|
||||||
|
|
Loading…
Reference in a new issue