Remove physics schema authoring toggle from MJCF SdfFileFormat plugin.
PiperOrigin-RevId: 789321573 Change-Id: Ib29bb426f8598a58f7b34c048b154fa8ada589ef
This commit is contained in:
committed by
Copybara-Service
parent
9f64338b37
commit
4c288c19ac
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user