mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Proper hiding of the SLA supports gizmo in FDM mode
This commit is contained in:
parent
58bfd29ea8
commit
8b201d0f2e
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "GUI_App.hpp"
|
||||
|
||||
#include "../../libslic3r/Utils.hpp"
|
||||
#include "PresetBundle.hpp"
|
||||
|
||||
#include <Eigen/Dense>
|
||||
#include "../../libslic3r/Geometry.hpp"
|
||||
|
@ -1759,6 +1760,10 @@ void GLGizmoSlaSupports::render_tooltip_texture() const {
|
|||
::glEnable(GL_DEPTH_TEST);
|
||||
}
|
||||
|
||||
bool GLGizmoSlaSupports::on_is_activable(const GLCanvas3D::Selection& selection) const
|
||||
{
|
||||
return (wxGetApp().preset_bundle->printers.get_edited_preset().printer_technology() == ptSLA);
|
||||
}
|
||||
|
||||
std::string GLGizmoSlaSupports::on_get_name() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue