Remove name and classname from mjmWrap.
PiperOrigin-RevId: 609563968 Change-Id: Ic69b95412ec5914fb5a8dcd134c7e6e733bc05b0
This commit is contained in:
committed by
Copybara-Service
parent
109f2d7119
commit
c248beb7e2
@@ -582,8 +582,6 @@ typedef struct _mjmTendon { // tendon specification
|
||||
|
||||
typedef struct _mjmWrap { // wrapping object specification
|
||||
mjElement element; // internal, do not modify
|
||||
mjString name; // name
|
||||
mjString classname; // class name
|
||||
mjString info; // message appended to errors
|
||||
} mjmWrap;
|
||||
|
||||
|
||||
@@ -4142,8 +4142,6 @@ mjCWrap::mjCWrap(mjCModel* _model, mjCTendon* _tendon) {
|
||||
|
||||
void mjCWrap::PointToLocal() {
|
||||
spec.element = (mjElement)this;
|
||||
spec.name = (mjString)&name;
|
||||
spec.classname = (mjString)&classname;
|
||||
spec.info = (mjString)&info;
|
||||
}
|
||||
|
||||
|
||||
@@ -1135,8 +1135,6 @@ class mjCWrap : public mjCBase, private mjmWrap {
|
||||
|
||||
public:
|
||||
mjmWrap spec;
|
||||
using mjCBase::name;
|
||||
using mjCBase::classname;
|
||||
using mjCBase::info;
|
||||
|
||||
void PointToLocal();
|
||||
|
||||
Reference in New Issue
Block a user