Replace mjs_detachBody and mjs_detachDefault with mjs_detach.
In a follow-up, mjs_detach will be changed to only remove without deleting an element. PiperOrigin-RevId: 773637351 Change-Id: I9ee4d3584ba88ccc225591337cf036bab806e25c
This commit is contained in:
committed by
Copybara-Service
parent
4ce6293217
commit
0488d9f4eb
@@ -232,9 +232,6 @@ class mjCModel : public mjCModel_, private mjSpec {
|
||||
// delete default and all descendants
|
||||
void RemoveDefault(mjCDef* def);
|
||||
|
||||
// detach subtree from model
|
||||
void Detach(mjCBody* subtree);
|
||||
|
||||
// API for access to model elements (outside tree)
|
||||
int NumObjects(mjtObj type); // number of objects in specified list
|
||||
mjCBase* GetObject(mjtObj type, int id); // pointer to specified object
|
||||
|
||||
Reference in New Issue
Block a user