Fix for build error and perhaps the grayed out arrange button

This commit is contained in:
tamasmeszaros 2018-11-15 09:46:55 +01:00
parent 73eb31d43c
commit 95abba5b96
2 changed files with 2 additions and 0 deletions

View File

@ -781,6 +781,7 @@ public:
model_height = bb.max(Z); model_height = bb.max(Z);
meshcache_valid = true; meshcache_valid = true;
return meshcache;
} }
double full_height() const { double full_height() const {

View File

@ -996,6 +996,7 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame) :
sidebar(new Sidebar(q)), sidebar(new Sidebar(q)),
canvas3D(GLCanvas3DManager::create_wxglcanvas(notebook)) canvas3D(GLCanvas3DManager::create_wxglcanvas(notebook))
{ {
arranging.store(false);
background_process.set_fff_print(&print); background_process.set_fff_print(&print);
background_process.set_sla_print(&sla_print); background_process.set_sla_print(&sla_print);
background_process.set_gcode_preview_data(&gcode_preview_data); background_process.set_gcode_preview_data(&gcode_preview_data);