Blender Git Commit Log
Git Commits -> Revision 3fdfa07
Revision 3fdfa07 by Michael Kowalski (temp-usd-importer-T81257-merge, usd, usd-importer-T81257-merge) March 11, 2021, 20:14 (GMT) |
USD Import: remove UsdPrimReader stage member. The UsdPrimReader class doesn't need a stage pointer as a member because the stage can implicitly be accessed through the prim itself, as long as the prim is valid. I removed the UsdPrimReader::stage_ member and updated the relevant constructors and function calls. Also, updated the various readers to construct schemas directly from the contained prim, e.g., pxr::UsdLuxRectLight rect_light(prim_) |
Commit Details:
Full Hash: 3fdfa0782da55683e2cc617efafb5e7ff21ba7fa
Parent Commit: 54b5ecc
Lines Changed: +86, -76
22 Modified Paths:
/source/blender/io/usd/intern/usd_capi.cc (+1, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_camera.cc (+5, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_camera.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_curve.cc (+8, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_curve.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_geom.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_instance.cc (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_instance.h (+1, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_light.cc (+15, -7) (Diff)
/source/blender/io/usd/intern/usd_reader_light.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.cc (+9, -5) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.h (+1, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_nurbs.cc (+2, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_nurbs.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.cc (+1, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.h (+1, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.cc (+1, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_volume.cc (+6, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_volume.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_xform.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_util.cc (+17, -18) (Diff)
/source/blender/io/usd/intern/usd_util.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_camera.cc (+5, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_camera.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_curve.cc (+8, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_curve.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_geom.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_instance.cc (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_instance.h (+1, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_light.cc (+15, -7) (Diff)
/source/blender/io/usd/intern/usd_reader_light.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.cc (+9, -5) (Diff)
/source/blender/io/usd/intern/usd_reader_mesh.h (+1, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_nurbs.cc (+2, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_nurbs.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.cc (+1, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_prim.h (+1, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_stage.cc (+1, -1) (Diff)
/source/blender/io/usd/intern/usd_reader_volume.cc (+6, -2) (Diff)
/source/blender/io/usd/intern/usd_reader_volume.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_reader_xform.h (+2, -3) (Diff)
/source/blender/io/usd/intern/usd_util.cc (+17, -18) (Diff)
/source/blender/io/usd/intern/usd_util.h (+2, -3) (Diff)