Code cleanup

This commit is contained in:
Enrico Turri 2018-08-13 09:23:10 +02:00
parent b6f6200bd5
commit bb07100a4f
9 changed files with 2 additions and 164 deletions

View file

@ -1820,12 +1820,10 @@ void _3DScene::enable_gizmos(wxGLCanvas* canvas, bool enable)
s_canvas_mgr.enable_gizmos(canvas, enable);
}
//###################################################################################################################################
void _3DScene::enable_toolbar(wxGLCanvas* canvas, bool enable)
{
s_canvas_mgr.enable_toolbar(canvas, enable);
}
//###################################################################################################################################
void _3DScene::enable_shader(wxGLCanvas* canvas, bool enable)
{
@ -1847,7 +1845,6 @@ void _3DScene::allow_multisample(wxGLCanvas* canvas, bool allow)
s_canvas_mgr.allow_multisample(canvas, allow);
}
//###################################################################################################################################
void _3DScene::enable_toolbar_item(wxGLCanvas* canvas, const std::string& name, bool enable)
{
s_canvas_mgr.enable_toolbar_item(canvas, name, enable);
@ -1857,7 +1854,6 @@ bool _3DScene::is_toolbar_item_pressed(wxGLCanvas* canvas, const std::string& na
{
return s_canvas_mgr.is_toolbar_item_pressed(canvas, name);
}
//###################################################################################################################################
void _3DScene::zoom_to_bed(wxGLCanvas* canvas)
{
@ -1994,7 +1990,6 @@ void _3DScene::register_on_update_geometry_info_callback(wxGLCanvas* canvas, voi
s_canvas_mgr.register_on_update_geometry_info_callback(canvas, callback);
}
//###################################################################################################################################
void _3DScene::register_action_add_callback(wxGLCanvas* canvas, void* callback)
{
s_canvas_mgr.register_action_add_callback(canvas, callback);
@ -2059,7 +2054,6 @@ void _3DScene::register_action_layersediting_callback(wxGLCanvas* canvas, void*
{
s_canvas_mgr.register_action_layersediting_callback(canvas, callback);
}
//###################################################################################################################################
static inline int hex_digit_to_int(const char c)
{