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:
Lukas Matena 2020-04-03 18:04:37 +02:00
parent 593e7a1546
commit 3db3a61520
3 changed files with 48 additions and 9 deletions

View file

@ -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