Merge branch 'master' into fs_emboss
# Conflicts: # src/libslic3r/Format/3mf.cpp
This commit is contained in:
commit
faa63f3182
93 changed files with 3309 additions and 597 deletions
src/slic3r/GUI
|
@ -1706,16 +1706,16 @@ void ObjectList::load_shape_object(const std::string& type_name)
|
|||
if (selection.get_object_idx() != -1)
|
||||
return;
|
||||
|
||||
const int obj_idx = m_objects->size();
|
||||
if (obj_idx < 0)
|
||||
return;
|
||||
|
||||
take_snapshot(_L("Add Shape"));
|
||||
|
||||
// Create mesh
|
||||
BoundingBoxf3 bb;
|
||||
TriangleMesh mesh = create_mesh(type_name, bb);
|
||||
load_mesh_object(mesh, _L("Shape") + "-" + _(type_name));
|
||||
#if ENABLE_RELOAD_FROM_DISK_REWORK
|
||||
if (!m_objects->empty())
|
||||
m_objects->back()->volumes.front()->source.is_from_builtin_objects = true;
|
||||
#endif // ENABLE_RELOAD_FROM_DISK_REWORK
|
||||
wxGetApp().mainframe->update_title();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue