Showing the changes to interface/src/ParticleTreeRenderer.cpp (1 of 4 files). Show all
Unified · Split
| @@ -33,10 +33,7 @@ void ParticleTreeRenderer::init() { · 32 unmodified lines | ||
| 33 | 33 | void ParticleTreeRenderer::update() { |
| 34 | 34 | if (_tree) { |
| 35 | 35 | ParticleTree* tree = static_cast<ParticleTree*>(_tree); |
| 36 | − if (tree->tryLockForWrite()) { | |
| 37 | − tree->update(); | |
| 38 | − tree->unlock(); | |
| 39 | − } | |
| 36 | + tree->update(); | |
| 40 | 37 | } |
| 41 | 38 | } |
| 42 | 39 | |