mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:36:39 +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);
|
assert(getType() == EntityTypes::PolyVox);
|
||||||
Q_ASSERT(args->_batch);
|
Q_ASSERT(args->_batch);
|
||||||
|
|
||||||
|
if (_volDataDirty) {
|
||||||
|
getMesh();
|
||||||
|
}
|
||||||
|
|
||||||
model::MeshPointer mesh;
|
model::MeshPointer mesh;
|
||||||
glm::vec3 voxelVolumeSize;
|
glm::vec3 voxelVolumeSize;
|
||||||
withReadLock([&] {
|
withReadLock([&] {
|
||||||
|
|
Loading…
Reference in a new issue