Faster toolpaths refresh when changing options selection in preview

This commit is contained in:
enricoturri1966 2020-12-11 14:59:58 +01:00
parent aaaa85c1f8
commit 5a7e4ff47c
6 changed files with 31 additions and 0 deletions

View file

@ -469,6 +469,9 @@ public:
void load(const GCodeProcessor::Result& gcode_result, const Print& print, bool initialized);
// recalculate ranges in dependence of what is visible and sets tool/print colors
void refresh(const GCodeProcessor::Result& gcode_result, const std::vector<std::string>& str_tool_colors);
#if ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE
void refresh_render_paths();
#endif // ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE
void reset();
void render() const;