mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
InstancesHider implementation
Any gizmo can now ask for hiding all but the active instance by returning proper value from on_get_requirements
This commit is contained in:
parent
593e7a1546
commit
3db3a61520
3 changed files with 48 additions and 9 deletions
|
@ -119,19 +119,21 @@ private:
|
|||
int m_active_inst = -1;
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
class InstancesHider : public CommonGizmosDataBase
|
||||
{
|
||||
public:
|
||||
explicit InstancesHider(CommonGizmosDataPool* cgdp)
|
||||
: CommonGizmosDataBase(cgdp) {}
|
||||
void update(bool required) override;
|
||||
protected:
|
||||
void on_update() override;
|
||||
void on_release() override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
||||
class HollowedMesh : public CommonGizmosDataBase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue