This commit is contained in:
SamGondelman 2019-03-27 15:46:25 -07:00
parent 3ff0770441
commit 6cc95fe8ac
2 changed files with 2 additions and 5 deletions

View file

@ -175,7 +175,7 @@ protected:
QString _textures;
ShapeType _shapeType { SHAPE_TYPE_NONE } ;
ShapeType _shapeType { SHAPE_TYPE_NONE };
private:
uint64_t _lastAnimated{ 0 };

View file

@ -740,10 +740,7 @@ void ParticleEffectEntityItem::setShapeType(ShapeType type) {
}
withWriteLock([&] {
if (type != _shapeType) {
_shapeType = type;
_flags |= Simulation::DIRTY_SHAPE | Simulation::DIRTY_MASS;
}
_shapeType = type;
});
}