Fix authoring type mismatch for geoms sizes attributes.
Fixes wrong sizes being displayed in usdview. Also introduce a new test to ensure we catch as many of those kinds of errors as possible in the future. PiperOrigin-RevId: 764388588 Change-Id: Id3c878edd054fe5272c42c9f960c65c850655559
This commit is contained in:
committed by
Copybara-Service
parent
287f46b220
commit
fc69ef1084
@@ -103,6 +103,10 @@ void ExpectAttributeEqual<pxr::SdfAssetPath>(pxr::UsdStageRefPtr stage,
|
||||
|
||||
void ExpectAttributeHasConnection(pxr::UsdStageRefPtr stage, const char* path,
|
||||
const char* connection_path);
|
||||
|
||||
// Checks that all authored attributes on the given prim have types that match
|
||||
// the schema types.
|
||||
void ExpectAllAuthoredAttributesMatchSchemaTypes(const pxr::UsdPrim& prim);
|
||||
} // namespace usd
|
||||
} // namespace mujoco
|
||||
#endif // MUJOCO_TEST_EXPERIMENTAL_USD_PLUGINS_MJCF_FIXTURE_H_
|
||||
|
||||
Reference in New Issue
Block a user