Store paths for hfields, textures, and skins similar to meshes.
PiperOrigin-RevId: 587283093 Change-Id: Ie6d8d2ecb185697a27d1b6f7fca1312df006af12
This commit is contained in:
committed by
Copybara-Service
parent
67fa7c1dc2
commit
c0b7b9873d
@@ -1957,7 +1957,10 @@ const char* mj_validateReferences(const mjModel* m) {
|
||||
X(name_textadr, ntext, nnames , 0 ) \
|
||||
X(name_tupleadr, ntuple, nnames , 0 ) \
|
||||
X(name_keyadr, nkey, nnames , 0 ) \
|
||||
X(mesh_pathadr, nmesh, npaths , 0 )
|
||||
X(hfield_pathadr, nhfield, npaths , 0 ) \
|
||||
X(mesh_pathadr, nmesh, npaths , 0 ) \
|
||||
X(skin_pathadr, nskin, npaths , 0 ) \
|
||||
X(tex_pathadr, ntex, npaths , 0 )
|
||||
|
||||
#define X(adrarray, nadrs, ntarget, numarray) { \
|
||||
int *nums = (numarray); \
|
||||
|
||||
Reference in New Issue
Block a user