summaryrefslogtreecommitdiff
path: root/servers/rendering
diff options
context:
space:
mode:
authorGábor Pál Korom <gabor.p.korom@migeran.com>2022-11-07 12:33:30 +0100
committerGábor Pál Korom <gabor.p.korom@migeran.com>2022-11-07 12:53:03 +0100
commit6865d2d002979c9572513dc2984d46a78db53e9f (patch)
tree7bef3cc1bc343c9e278c4ef9870e0641cd40a10e /servers/rendering
parenta1bc636098c91ed47a8d9a23e07a4c85b64c1884 (diff)
Surface AABBs are now set for mesh surfaces even in headless mode. Sponsored by Migeran (https://migeran.com).
Diffstat (limited to 'servers/rendering')
-rw-r--r--servers/rendering/dummy/storage/mesh_storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/dummy/storage/mesh_storage.h b/servers/rendering/dummy/storage/mesh_storage.h
index b0914e70e4..4399f4ab66 100644
--- a/servers/rendering/dummy/storage/mesh_storage.h
+++ b/servers/rendering/dummy/storage/mesh_storage.h
@@ -81,6 +81,7 @@ public:
s->vertex_count = p_surface.vertex_count;
s->index_data = p_surface.index_data;
s->index_count = p_surface.index_count;
+ s->aabb = p_surface.aabb;
s->skin_data = p_surface.skin_data;
}