mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 05:12:27 +00:00
ENH: enable wireframe
This reverts commit ed6e149381240fd83b61da70891127d400f30a39. Change-Id: I010871fcf22322214c627fe907539c0916fa6ff5
This commit is contained in:
@@ -1632,6 +1632,7 @@ struct Plater::priv
|
||||
|
||||
bool show_render_statistic_dialog{ false };
|
||||
bool show_wireframe{ false };
|
||||
bool wireframe_enabled{ false };
|
||||
|
||||
static const std::regex pattern_bundle;
|
||||
static const std::regex pattern_3mf;
|
||||
@@ -10603,6 +10604,16 @@ bool Plater::is_show_wireframe() const
|
||||
return p->show_wireframe;
|
||||
}
|
||||
|
||||
void Plater::enable_wireframe(bool status)
|
||||
{
|
||||
p->wireframe_enabled = status;
|
||||
}
|
||||
|
||||
bool Plater::is_wireframe_enabled() const
|
||||
{
|
||||
return p->wireframe_enabled;
|
||||
}
|
||||
|
||||
|
||||
/*Plater::TakeSnapshot::TakeSnapshot(Plater *plater, const std::string &snapshot_name)
|
||||
: TakeSnapshot(plater, from_u8(snapshot_name)) {}
|
||||
|
||||
Reference in New Issue
Block a user