Skip to content
Snippets Groups Projects
Verified Commit da73641c authored by Justin Carpentier's avatar Justin Carpentier
Browse files

geometry: add copy constructor to GeometryObject

This allows to avoid warnings
parent 63d963ec
No related branches found
No related tags found
No related merge requests found
......@@ -191,6 +191,12 @@ struct GeometryObject
, meshColor(meshColor)
, meshTexturePath(meshTexturePath)
{}
GeometryObject(const GeometryObject & other)
: fcl(geometry)
{
*this = other;
}
GeometryObject & operator=(const GeometryObject & other)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment