Change user_api handle types.

PiperOrigin-RevId: 640978033
Change-Id: I53496671ac823b50e6f90ceee15bf3b314b06db8
This commit is contained in:
Alessio Quaglino
2024-06-06 12:05:17 -07:00
committed by Copybara-Service
parent 9a140bad14
commit f6084b4328
7 changed files with 427 additions and 424 deletions
+10 -10
View File
@@ -417,11 +417,11 @@ void mjCModel::CreateObjectLists() {
void mjCModel::PointToLocal() {
spec.element = static_cast<mjElement*>(this);
spec.comment = (mjString)&spec_comment_;
spec.modelfiledir = (mjString)&spec_modelfiledir_;
spec.modelname = (mjString)&spec_modelname_;
spec.meshdir = (mjString)&spec_meshdir_;
spec.texturedir = (mjString)&spec_texturedir_;
spec.comment = &spec_comment_;
spec.modelfiledir = &spec_modelfiledir_;
spec.modelname = &spec_modelname_;
spec.meshdir = &spec_meshdir_;
spec.texturedir = &spec_texturedir_;
}
@@ -433,11 +433,11 @@ void mjCModel::CopyFromSpec() {
modelname_ = spec_modelname_;
meshdir_ = spec_meshdir_;
texturedir_ = spec_texturedir_;
comment = (mjString)&comment_;
modelfiledir = (mjString)&modelfiledir_;
modelname = (mjString)&modelname_;
meshdir = (mjString)&meshdir_;
texturedir = (mjString)&texturedir_;
comment = &comment_;
modelfiledir = &modelfiledir_;
modelname = &modelname_;
meshdir = &meshdir_;
texturedir = &texturedir_;
}