mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
New tech ENABLE_SLOPE_RENDERING - 1st installment of rendering objects colored by facets slope
This commit is contained in:
parent
84c9136e2d
commit
b36051af82
12 changed files with 277 additions and 19 deletions
|
@ -66,6 +66,9 @@ bool View3D::init(wxWindow* parent, Bed3D& bed, Camera& camera, GLToolbar& view_
|
|||
m_canvas->enable_main_toolbar(true);
|
||||
m_canvas->enable_undoredo_toolbar(true);
|
||||
m_canvas->enable_labels(true);
|
||||
#if ENABLE_SLOPE_RENDERING
|
||||
m_canvas->enable_slope(true);
|
||||
#endif // ENABLE_SLOPE_RENDERING
|
||||
|
||||
wxBoxSizer* main_sizer = new wxBoxSizer(wxVERTICAL);
|
||||
main_sizer->Add(m_canvas_widget, 1, wxALL | wxEXPAND, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue