mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-30 05:09:12 -07:00
Add debug option to display picking pass to screen
This commit is contained in:
@@ -1625,6 +1625,7 @@ void GLCanvas3D::render()
|
||||
_picking_pass();
|
||||
}
|
||||
|
||||
#if !ENABLE_RENDER_PICKING_PASS
|
||||
// draw scene
|
||||
glsafe(::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT));
|
||||
_render_background();
|
||||
@@ -1654,6 +1655,7 @@ void GLCanvas3D::render()
|
||||
|
||||
_render_current_gizmo();
|
||||
_render_selection_sidebar_hints();
|
||||
#endif // !ENABLE_RENDER_PICKING_PASS
|
||||
|
||||
#if ENABLE_SHOW_CAMERA_TARGET
|
||||
_render_camera_target();
|
||||
|
||||
Reference in New Issue
Block a user