Fix vfs load for mesh gmeshs type

This commit is contained in:
Mark Yang
2026-03-07 21:45:12 -05:00
parent 6bc6c11c49
commit 95724d1ec2
4 changed files with 56 additions and 11 deletions
+1 -1
View File
@@ -2849,7 +2849,7 @@ void mjXReader::OneFlexcomp(XMLElement* elem, mjsBody* body, const mjVFS* vfs) {
// make flexcomp
char error[200];
bool res = fcomp.Make(body, error, 200);
bool res = fcomp.Make(body, error, 200, vfs);
// throw error
if (!res) {