mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
GUI edits
This commit is contained in:
parent
b88629974d
commit
ca3fc06e36
2 changed files with 70 additions and 36 deletions
|
@ -20,19 +20,19 @@ class GLGizmoSimplify : public GLGizmoBase
|
|||
} state;
|
||||
|
||||
bool is_valid_result; // differ what to do in apply
|
||||
|
||||
int progress;
|
||||
|
||||
ModelVolume *volume;
|
||||
size_t obj_index;
|
||||
std::optional<indexed_triangle_set> original_its;
|
||||
|
||||
std::optional<float> last_error; // for use previous reduction
|
||||
|
||||
bool need_reload; // after simplify, glReload must be on main thread
|
||||
std::thread worker;
|
||||
public:
|
||||
GLGizmoSimplify(GLCanvas3D& parent, const std::string& icon_filename, unsigned int sprite_id);
|
||||
virtual ~GLGizmoSimplify();
|
||||
void set_selectable(bool value);
|
||||
protected:
|
||||
virtual bool on_init() override;
|
||||
virtual std::string on_get_name() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue