Add signature error checking at the end of compilation.

Fixed some edge cases that caused the new error to be triggered.

PiperOrigin-RevId: 740483759
Change-Id: I6ced3ba55476d5c18103e205151ecace94f2b29b
This commit is contained in:
Alessio Quaglino
2025-03-25 14:21:52 -07:00
committed by Copybara-Service
parent 157b074116
commit 69f8349203
2 changed files with 26 additions and 6 deletions
+1
View File
@@ -1422,6 +1422,7 @@ mjCFrame* mjCBody::ToFrame() {
parent->bodies.end());
model->ResetTreeLists();
model->MakeTreeLists();
model->spec.element->signature = model->Signature();
return newframe;
}