Selection's debug output set as optional

This commit is contained in:
Enrico Turri 2018-12-13 08:55:19 +01:00
parent b856775e18
commit 3bddf2afff
2 changed files with 4 additions and 0 deletions

View file

@ -2116,6 +2116,7 @@ void GLCanvas3D::Selection::_update_type()
v->disabled = requires_disable ? (v->object_idx() != object_idx) || (v->instance_idx() != instance_idx) : false;
}
#if ENABLE_SELECTION_DEBUG_OUTPUT
std::cout << "Selection: ";
std::cout << "mode: ";
switch (m_mode)
@ -2197,6 +2198,7 @@ void GLCanvas3D::Selection::_update_type()
break;
}
}
#endif // ENABLE_SELECTION_DEBUG_OUTPUT
}
void GLCanvas3D::Selection::_set_caches()