Update libraries/entities-renderer/src/RenderablePolyVoxEntityItem.cpp

Co-authored-by: Julian Groß  <julian.g@posteo.de>
This commit is contained in:
ksuprynowicz 2022-07-30 12:02:55 +02:00 committed by GitHub
parent 42cd0ddfca
commit e60dc098da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ void RenderablePolyVoxEntityItem::setVoxelData(const QByteArray& voxelData) {
changed = true;
}
});
if (is_updated) {
if (changed) {
startUpdates();
}
}