mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Follow-up of 32dc4709a4
-> A more general fix
This commit is contained in:
parent
ed2bad6709
commit
7f589e79f7
4 changed files with 16 additions and 6 deletions
|
@ -99,6 +99,7 @@ protected:
|
|||
float m_highlight_color[4];
|
||||
mutable std::vector<Grabber> m_grabbers;
|
||||
ImGuiWrapper* m_imgui;
|
||||
bool m_first_input_window_render;
|
||||
|
||||
public:
|
||||
GLGizmoBase(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id);
|
||||
|
@ -144,7 +145,7 @@ public:
|
|||
|
||||
void render() const { on_render(); }
|
||||
void render_for_picking() const { on_render_for_picking(); }
|
||||
void render_input_window(float x, float y, float bottom_limit) { on_render_input_window(x, y, bottom_limit); }
|
||||
void render_input_window(float x, float y, float bottom_limit);
|
||||
|
||||
protected:
|
||||
virtual bool on_init() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue