Fixed several std::moves that had no effect, moved GCode data to heap
This commit is contained in:
parent
96a6c8538f
commit
e01d32d01a
7 changed files with 19 additions and 19 deletions
|
@ -817,7 +817,7 @@ private:
|
|||
this->set_material_id(other.material_id());
|
||||
}
|
||||
// Providing a new mesh, therefore this volume will get a new unique ID assigned.
|
||||
ModelVolume(ModelObject *object, const ModelVolume &other, const TriangleMesh &&mesh) :
|
||||
ModelVolume(ModelObject *object, const ModelVolume &other, TriangleMesh &&mesh) :
|
||||
name(other.name), source(other.source), m_mesh(new TriangleMesh(std::move(mesh))), config(other.config), m_type(other.m_type), object(object), m_transformation(other.m_transformation)
|
||||
{
|
||||
assert(this->id().valid());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue