mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 18:08:26 +02:00
CR
This commit is contained in:
parent
3ff0770441
commit
6cc95fe8ac
2 changed files with 2 additions and 5 deletions
|
@ -175,7 +175,7 @@ protected:
|
|||
|
||||
QString _textures;
|
||||
|
||||
ShapeType _shapeType { SHAPE_TYPE_NONE } ;
|
||||
ShapeType _shapeType { SHAPE_TYPE_NONE };
|
||||
|
||||
private:
|
||||
uint64_t _lastAnimated{ 0 };
|
||||
|
|
|
@ -740,10 +740,7 @@ void ParticleEffectEntityItem::setShapeType(ShapeType type) {
|
|||
}
|
||||
|
||||
withWriteLock([&] {
|
||||
if (type != _shapeType) {
|
||||
_shapeType = type;
|
||||
_flags |= Simulation::DIRTY_SHAPE | Simulation::DIRTY_MASS;
|
||||
}
|
||||
_shapeType = type;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue