mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 22:13:12 +02:00
fix getDirtyFlags & getSpecialFlags function
This commit is contained in:
parent
f6029ed9dc
commit
bd5fc65bfb
1 changed files with 2 additions and 2 deletions
|
@ -2834,7 +2834,7 @@ DEFINE_PROPERTY_ACCESSOR(quint32, StaticCertificateVersion, staticCertificateVer
|
||||||
uint32_t EntityItem::getDirtyFlags() const {
|
uint32_t EntityItem::getDirtyFlags() const {
|
||||||
uint32_t result;
|
uint32_t result;
|
||||||
withReadLock([&] {
|
withReadLock([&] {
|
||||||
result = _flags & ~Simulation::SPECIAL_FLAGS;
|
result = _flags & Simulation::SPECIAL_FLAGS;
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -2857,7 +2857,7 @@ void EntityItem::clearDirtyFlags(uint32_t mask) {
|
||||||
uint32_t EntityItem::getSpecialFlags() const {
|
uint32_t EntityItem::getSpecialFlags() const {
|
||||||
uint32_t result;
|
uint32_t result;
|
||||||
withReadLock([&] {
|
withReadLock([&] {
|
||||||
result = _flags & ~Simulation::DIRTY_FLAGS;
|
result = _flags & Simulation::DIRTY_FLAGS;
|
||||||
});
|
});
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue