Selection's debug output set as optional
This commit is contained in:
parent
b856775e18
commit
3bddf2afff
@ -7,6 +7,8 @@
|
||||
|
||||
// Shows camera target in the 3D scene
|
||||
#define ENABLE_SHOW_CAMERA_TARGET 0
|
||||
// Log debug messages to console when changing selection
|
||||
#define ENABLE_SELECTION_DEBUG_OUTPUT 0
|
||||
|
||||
//=============
|
||||
// 1.42.0 techs
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user