mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:53:03 +02:00
add back getMesh call
This commit is contained in:
parent
6abed67c05
commit
f8fe7b5868
1 changed files with 4 additions and 0 deletions
|
@ -533,6 +533,10 @@ void RenderablePolyVoxEntityItem::render(RenderArgs* args) {
|
|||
assert(getType() == EntityTypes::PolyVox);
|
||||
Q_ASSERT(args->_batch);
|
||||
|
||||
if (_volDataDirty) {
|
||||
getMesh();
|
||||
}
|
||||
|
||||
model::MeshPointer mesh;
|
||||
glm::vec3 voxelVolumeSize;
|
||||
withReadLock([&] {
|
||||
|
|
Loading…
Reference in a new issue