Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2021-01-22 14:32:40 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2021-04-12 15:09:17 +0300
commit9fbd2ab1c74c401e17daaf661d7b04ce1c680ef6 (patch)
treef43b7995d42edaa5fc1501ff4409ebc0b8ababfa
parentdd2cd72099a410888aa7ec8c59a1181d4cebb8fd (diff)
ENABLE_GCODE_VIEWER_STATISTICS - GCodeViewer statistic dialog modified to not require extra frames render
-rw-r--r--src/slic3r/GUI/GCodeViewer.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp
index 43bf0345a..864dcdcc1 100644
--- a/src/slic3r/GUI/GCodeViewer.cpp
+++ b/src/slic3r/GUI/GCodeViewer.cpp
@@ -4576,16 +4576,12 @@ void GCodeViewer::render_statistics() const
add_time(std::string("Load:"), m_statistics.load_time);
add_time(std::string("Refresh:"), m_statistics.refresh_time);
add_time(std::string("Refresh paths:"), m_statistics.refresh_paths_time);
- wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
- wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
}
if (ImGui::CollapsingHeader("OpenGL calls")) {
add_counter(std::string("Multi GL_POINTS:"), m_statistics.gl_multi_points_calls_count);
add_counter(std::string("Multi GL_LINES:"), m_statistics.gl_multi_lines_calls_count);
add_counter(std::string("Multi GL_TRIANGLES:"), m_statistics.gl_multi_triangles_calls_count);
- wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
- wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
}
if (ImGui::CollapsingHeader("CPU memory")) {
@@ -4594,8 +4590,6 @@ void GCodeViewer::render_statistics() const
ImGui::Separator();
add_memory(std::string("Paths:"), m_statistics.paths_size);
add_memory(std::string("Render paths:"), m_statistics.render_paths_size);
- wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
- wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
}
if (ImGui::CollapsingHeader("GPU memory")) {
@@ -4604,8 +4598,6 @@ void GCodeViewer::render_statistics() const
ImGui::Separator();
add_memory(std::string("Max VBuffer:"), m_statistics.max_vbuffer_gpu_size);
add_memory(std::string("Max IBuffer:"), m_statistics.max_ibuffer_gpu_size);
- wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
- wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
}
if (ImGui::CollapsingHeader("Other")) {
@@ -4615,8 +4607,6 @@ void GCodeViewer::render_statistics() const
ImGui::Separator();
add_counter(std::string("VBuffers count:"), m_statistics.vbuffers_count);
add_counter(std::string("IBuffers count:"), m_statistics.ibuffers_count);
- wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
- wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
}
imgui.end();