mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-04 06:10:41 +08:00
New gcode visualization integration - Partially enabled imgui debug window
This commit is contained in:
parent
6785e4fefd
commit
a17d727b37
@ -58,7 +58,7 @@
|
||||
#define ENABLE_BINARIZED_GCODE_DEBUG_WINDOW 0
|
||||
|
||||
#define ENABLE_NEW_GCODE_VIEWER 1
|
||||
#define ENABLE_NEW_GCODE_VIEWER_DEBUG (0 && ENABLE_NEW_GCODE_VIEWER)
|
||||
#define ENABLE_NEW_GCODE_VIEWER_DEBUG (1 && ENABLE_NEW_GCODE_VIEWER)
|
||||
// Enable G-Code viewer statistics imgui dialog
|
||||
#define ENABLE_GCODE_VIEWER_STATISTICS (0 && !ENABLE_NEW_GCODE_VIEWER)
|
||||
|
||||
|
@ -3866,6 +3866,7 @@ void GCodeViewer::render_toolpaths()
|
||||
|
||||
if (ImGui::BeginTable("Data", 2)) {
|
||||
|
||||
/*
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableSetColumnIndex(0);
|
||||
imgui.text_colored(ImGuiWrapper::COL_ORANGE_LIGHT, "# vertices");
|
||||
@ -3873,6 +3874,7 @@ void GCodeViewer::render_toolpaths()
|
||||
imgui.text(std::to_string(m_viewer.get_vertices_count()));
|
||||
|
||||
ImGui::Separator();
|
||||
*/
|
||||
|
||||
ImGui::TableNextRow();
|
||||
ImGui::TableSetColumnIndex(0);
|
||||
@ -3886,6 +3888,7 @@ void GCodeViewer::render_toolpaths()
|
||||
ImGui::TableSetColumnIndex(1);
|
||||
imgui.text(format_memsize(m_viewer.get_used_gpu_memory()));
|
||||
|
||||
/*
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::TableNextRow();
|
||||
@ -4019,6 +4022,8 @@ void GCodeViewer::render_toolpaths()
|
||||
if (imgui.slider_float("##WipesRadius", &wipes_radius, 0.05f, 0.5f))
|
||||
m_viewer.set_wipes_radius(wipes_radius);
|
||||
|
||||
*/
|
||||
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user