Track authored flags for global attributes
PiperOrigin-RevId: 931585539 Change-Id: Ifdc8c59de6c5a553daf6e0af09d8192aff6b0610
This commit is contained in:
committed by
Copybara-Service
parent
0ea9c7cb3a
commit
67a1ea6dca
@@ -666,7 +666,8 @@ MjSpec::MjSpec()
|
||||
compiler(&ptr_->compiler),
|
||||
option(&ptr_->option),
|
||||
visual(&ptr_->visual),
|
||||
stat(&ptr_->stat) {
|
||||
stat(&ptr_->stat),
|
||||
authored(&ptr_->authored) {
|
||||
owned_ = true;
|
||||
mjs_defaultSpec(ptr_);
|
||||
};
|
||||
@@ -677,7 +678,8 @@ MjSpec::MjSpec(mjSpec *ptr)
|
||||
compiler(&ptr_->compiler),
|
||||
option(&ptr_->option),
|
||||
visual(&ptr_->visual),
|
||||
stat(&ptr_->stat) {}
|
||||
stat(&ptr_->stat),
|
||||
authored(&ptr_->authored) {}
|
||||
|
||||
MjSpec::MjSpec(const MjSpec &other)
|
||||
: ptr_(mj_copySpec(other.get())),
|
||||
@@ -685,7 +687,8 @@ MjSpec::MjSpec(const MjSpec &other)
|
||||
compiler(&ptr_->compiler),
|
||||
option(&ptr_->option),
|
||||
visual(&ptr_->visual),
|
||||
stat(&ptr_->stat) {
|
||||
stat(&ptr_->stat),
|
||||
authored(&ptr_->authored) {
|
||||
owned_ = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user