Scope the Map thread to an Environment

Also, replace manual thread type checks with Environment::currentlyOn().
This commit is contained in:
Thiago Marcos P. Santos
2015-03-13 15:03:33 +02:00
committed by Konstantin Käfer
parent b52aab5f7c
commit b5facd35bc
4 changed files with 35 additions and 59 deletions

View File

@@ -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;