mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: enable wireframe
This reverts commit ed6e149381240fd83b61da70891127d400f30a39. Change-Id: I010871fcf22322214c627fe907539c0916fa6ff5
This commit is contained in:
parent
5e024f75b9
commit
79b5c94f4f
10 changed files with 263 additions and 38 deletions
|
@ -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)) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue