MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / updateMesh

Method updateMesh

source/MRMesh/MRObjectMesh.cpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43std::shared_ptr< Mesh > ObjectMesh::updateMesh( std::shared_ptr< Mesh > mesh )
44{
45 if ( mesh != data_.mesh )
46 {
47 data_.mesh.swap( mesh );
48 setDirtyFlags( DIRTY_ALL );
49 }
50 return mesh;
51}
52
53std::vector<std::string> ObjectMesh::getInfoLines() const
54{

Callers 3

ChangeMeshActionMethod · 0.45
actionMethod · 0.45

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected