File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,12 @@ namespace diffCheck::geometry
7676
7777 void DFMesh::LoadFromPLY (const std::string &path)
7878 {
79- diffCheck::io::ReadPLYMeshFromFile (path);
80- this ->Vertices = diffCheck::io::ReadPLYMeshFromFile (path) ->Vertices ;
81- this ->Faces = diffCheck::io::ReadPLYMeshFromFile (path) ->Faces ;
82- this ->NormalsVertex = diffCheck::io::ReadPLYMeshFromFile (path) ->NormalsVertex ;
83- this ->ColorsVertex = diffCheck::io::ReadPLYMeshFromFile (path) ->ColorsVertex ;
84- this ->NormalsFace = diffCheck::io::ReadPLYMeshFromFile (path) ->NormalsFace ;
85- this ->ColorsFace = diffCheck::io::ReadPLYMeshFromFile (path) ->ColorsFace ;
79+ std::shared_ptr<diffCheck::geometry::DFMesh> tempMesh_ptr = diffCheck::io::ReadPLYMeshFromFile (path);
80+ this ->Vertices = tempMesh_ptr ->Vertices ;
81+ this ->Faces = tempMesh_ptr ->Faces ;
82+ this ->NormalsVertex = tempMesh_ptr ->NormalsVertex ;
83+ this ->ColorsVertex = tempMesh_ptr ->ColorsVertex ;
84+ this ->NormalsFace = tempMesh_ptr ->NormalsFace ;
85+ this ->ColorsFace = tempMesh_ptr ->ColorsFace ;
8686 }
8787} // namespace diffCheck::geometry
You can’t perform that action at this time.
0 commit comments