mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 18:21:18 -06:00
Add [esc] to interupt preview in simplify
This commit is contained in:
parent
80ccb77b00
commit
a9bd989eda
3 changed files with 18 additions and 20 deletions
|
|
@ -24,6 +24,7 @@ class GLGizmoSimplify: public GLGizmoBase, public GLGizmoTransparentRender // GL
|
|||
public:
|
||||
GLGizmoSimplify(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id);
|
||||
virtual ~GLGizmoSimplify();
|
||||
bool on_esc_key_down();
|
||||
protected:
|
||||
virtual bool on_init() override;
|
||||
virtual std::string on_get_name() const override;
|
||||
|
|
@ -74,8 +75,6 @@ private:
|
|||
|
||||
struct Configuration
|
||||
{
|
||||
bool live_preview = false;
|
||||
|
||||
bool use_count = false;
|
||||
// minimal triangle count
|
||||
float decimate_ratio = 50.f; // in percent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue