diff options
author | makowalski <makowalski@nvidia.com> | 2021-05-08 23:44:34 +0300 |
---|---|---|
committer | makowalski <makowalski@nvidia.com> | 2021-05-08 23:44:34 +0300 |
commit | 1f43bef9cd7df797207bd06e1e1e30ed528489a5 (patch) | |
tree | 6e106db1322ae2301f8ab155b1c682f36778b641 /source/blender/io/usd/intern/usd_reader_mesh.h | |
parent | a34962244252afa3fbaeee2123e19229f98e548e (diff) |
USDMeshReader class unneeded function arguments.
Removed unneeded arguments to several USDMeshReader functions.
In some cases, UsdGeomMesh arguments were redundant, as
the same data is stored in the mesh_prim_ class member. In
addition improperly named arguments were hiding the mesh_prim_
member.
Diffstat (limited to 'source/blender/io/usd/intern/usd_reader_mesh.h')
-rw-r--r-- | source/blender/io/usd/intern/usd_reader_mesh.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/source/blender/io/usd/intern/usd_reader_mesh.h b/source/blender/io/usd/intern/usd_reader_mesh.h index 2bedbf1d8ba..7b00f5aa581 100644 --- a/source/blender/io/usd/intern/usd_reader_mesh.h +++ b/source/blender/io/usd/intern/usd_reader_mesh.h @@ -78,17 +78,12 @@ class USDMeshReader : public USDGeomReader { int totpoly, std::map<pxr::SdfPath, int> &r_mat_map); - void read_mpolys(Mesh *mesh, pxr::UsdGeomMesh mesh_prim, double motionSampleTime); - void read_uvs(Mesh *mesh, - pxr::UsdGeomMesh mesh_prim_, - double motionSampleTime, - bool load_uvs = false); - void read_colors(Mesh *mesh, const pxr::UsdGeomMesh &mesh_prim, double motionSampleTime); - - void read_mesh_sample(const std::string &iobject_full_name, - ImportSettings *settings, + void read_mpolys(Mesh *mesh); + void read_uvs(Mesh *mesh, double motionSampleTime, bool load_uvs = false); + void read_colors(Mesh *mesh, double motionSampleTime); + + void read_mesh_sample(ImportSettings *settings, Mesh *mesh, - const pxr::UsdGeomMesh &mesh_prim, double motionSampleTime, bool new_mesh); }; |