Rename mesh_assetpathadr to mesh_pathadr and move it to the end of the mesh section.
PiperOrigin-RevId: 568911603 Change-Id: I8f21c3d1cc9c73b6a95292a50f262b1a199d0898
This commit is contained in:
committed by
Copybara-Service
parent
0dfeedb320
commit
8ed321d469
@@ -377,7 +377,7 @@ TEST_F(MjCMeshTest, SaveMeshOnce) {
|
||||
mjModel* model = mj_loadXML(xml_path.c_str(), 0, error.data(), error.size());
|
||||
// Confirm the mesh file is loaded and stored in paths
|
||||
EXPECT_EQ(
|
||||
std::string(&model->paths[model->mesh_assetpathadr[0]]), "cube.obj");
|
||||
std::string(&model->paths[model->mesh_pathadr[0]]), "cube.obj");
|
||||
std::string saved_xml = SaveAndReadXml(model);
|
||||
EXPECT_THAT(saved_xml, Not(testing::HasSubstr("vertex")));
|
||||
mj_deleteModel(model);
|
||||
|
||||
Reference in New Issue
Block a user