mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +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 result;
|
||||
withReadLock([&] {
|
||||
result = _flags & ~Simulation::SPECIAL_FLAGS;
|
||||
result = _flags & Simulation::SPECIAL_FLAGS;
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
@ -2857,7 +2857,7 @@ void EntityItem::clearDirtyFlags(uint32_t mask) {
|
|||
uint32_t EntityItem::getSpecialFlags() const {
|
||||
uint32_t result;
|
||||
withReadLock([&] {
|
||||
result = _flags & ~Simulation::DIRTY_FLAGS;
|
||||
result = _flags & Simulation::DIRTY_FLAGS;
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue