Scope the Map thread to an Environment
Also, replace manual thread type checks with Environment::currentlyOn().
This commit is contained in:
committed by
Konstantin Käfer
parent
b52aab5f7c
commit
b5facd35bc
@@ -217,9 +217,6 @@ private:
|
||||
// Stores whether the map thread has been stopped already.
|
||||
std::atomic_bool isStopped;
|
||||
|
||||
const std::thread::id mainThread;
|
||||
std::thread::id mapThread;
|
||||
|
||||
Transform transform;
|
||||
TransformState state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user