Add missing PointToLocal call in mjCPlugin copy constructor.

PiperOrigin-RevId: 752486555
Change-Id: I08b14476b9098e6473a4c00918ef3f9a287f35f6
This commit is contained in:
Alessio Quaglino
2025-04-28 16:22:55 -07:00
committed by Copybara-Service
parent 4137a4c774
commit 75f196c7ef
3 changed files with 25 additions and 0 deletions
+3
View File
@@ -1587,6 +1587,9 @@ class mjCPlugin : public mjCPlugin_ {
mjCPlugin(mjCModel*);
mjCPlugin(const mjCPlugin& other);
mjCPlugin& operator=(const mjCPlugin& other);
void PointToLocal();
mjsPlugin spec;
mjCBase* parent; // parent object (only used when generating error message)
int plugin_slot; // global registered slot number of the plugin