mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
3DScene layer height profile rendering moved to c++
This commit is contained in:
parent
f31c55ceed
commit
70664122af
8 changed files with 112 additions and 51 deletions
|
@ -2065,9 +2065,10 @@ void _3DScene::render_legend_texture(wxGLCanvas* canvas)
|
|||
s_canvas_mgr.render_legend_texture(canvas);
|
||||
}
|
||||
|
||||
void _3DScene::render_layer_editing_textures(wxGLCanvas* canvas)
|
||||
void _3DScene::render_layer_editing_textures(wxGLCanvas* canvas, const PrintObject* print_object)
|
||||
{
|
||||
s_canvas_mgr.render_layer_editing_textures(canvas);
|
||||
if (print_object != nullptr)
|
||||
s_canvas_mgr.render_layer_editing_textures(canvas, *print_object);
|
||||
}
|
||||
|
||||
void _3DScene::render_texture(wxGLCanvas* canvas, unsigned int tex_id, float left, float right, float bottom, float top)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue