mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 00:22:13 +02:00
Make scripting interface members thread safe
This commit is contained in:
parent
aaed1d333b
commit
f97e61e305
1 changed files with 4 additions and 4 deletions
|
@ -126,10 +126,10 @@ namespace controller {
|
|||
QVariantMap _actions;
|
||||
QVariantMap _standard;
|
||||
|
||||
bool _mouseCaptured{ false };
|
||||
bool _touchCaptured{ false };
|
||||
bool _wheelCaptured{ false };
|
||||
bool _actionsCaptured{ false };
|
||||
std::atomic<bool> _mouseCaptured{ false };
|
||||
std::atomic<bool> _touchCaptured { false };
|
||||
std::atomic<bool> _wheelCaptured { false };
|
||||
std::atomic<bool> _actionsCaptured { false };
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue