Remove physics schema authoring toggle from MJCF SdfFileFormat plugin.

PiperOrigin-RevId: 789321573
Change-Id: Ib29bb426f8598a58f7b34c048b154fa8ada589ef
This commit is contained in:
Sam Haves
2025-07-31 07:05:41 -07:00
committed by Copybara-Service
parent 9f64338b37
commit 4c288c19ac
7 changed files with 158 additions and 237 deletions
+2 -4
View File
@@ -48,10 +48,8 @@ pxr::SdfLayerRefPtr LoadLayer(
return layer;
}
pxr::UsdStageRefPtr OpenStageWithPhysics(const std::string& xml) {
pxr::SdfFileFormat::FileFormatArguments args;
args["usdMjcfToggleUsdPhysics"] = "true";
pxr::SdfLayerRefPtr layer = LoadLayer(xml, args);
pxr::UsdStageRefPtr OpenStage(const std::string& xml) {
pxr::SdfLayerRefPtr layer = LoadLayer(xml);
auto stage = pxr::UsdStage::Open(layer);
EXPECT_THAT(stage, testing::NotNull());
return stage;