mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
1st installment of removal of tabs from plater
This commit is contained in:
parent
129c35b714
commit
428800ad1e
8 changed files with 565 additions and 6 deletions
|
@ -3557,12 +3557,21 @@ void GLCanvas3D::reset_volumes()
|
|||
_reset_warning_texture();
|
||||
}
|
||||
|
||||
#if ENABLE_REMOVE_TABS_FROM_PLATER
|
||||
int GLCanvas3D::check_volumes_outside_state() const
|
||||
{
|
||||
ModelInstance::EPrintVolumeState state;
|
||||
m_volumes.check_outside_state(m_config, &state);
|
||||
return (int)state;
|
||||
}
|
||||
#else
|
||||
int GLCanvas3D::check_volumes_outside_state(const DynamicPrintConfig* config) const
|
||||
{
|
||||
ModelInstance::EPrintVolumeState state;
|
||||
m_volumes.check_outside_state(config, &state);
|
||||
return (int)state;
|
||||
}
|
||||
#endif // ENABLE_REMOVE_TABS_FROM_PLATER
|
||||
|
||||
void GLCanvas3D::set_config(DynamicPrintConfig* config)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue