mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 17:38:39 +02:00
adjusting the bounding box for debug rendering
This commit is contained in:
parent
f16d0c712e
commit
ec569b0e51
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ void GameSpaceToRender::run(const workload::WorkloadContextPointer& runContext,
|
||||||
if (!render::Item::isValidID(_spaceRenderItemID)) {
|
if (!render::Item::isValidID(_spaceRenderItemID)) {
|
||||||
_spaceRenderItemID = scene->allocateID();
|
_spaceRenderItemID = scene->allocateID();
|
||||||
auto renderItem = std::make_shared<GameWorkloadRenderItem>();
|
auto renderItem = std::make_shared<GameWorkloadRenderItem>();
|
||||||
renderItem->editBound().setBox(glm::vec3(-16000.0f), 16000.0f);
|
renderItem->editBound().setBox(glm::vec3(-16000.0f), 32000.0f);
|
||||||
renderItem->setAllProxies(proxies);
|
renderItem->setAllProxies(proxies);
|
||||||
transaction.resetItem(_spaceRenderItemID, std::make_shared<GameWorkloadRenderItem::Payload>(renderItem));
|
transaction.resetItem(_spaceRenderItemID, std::make_shared<GameWorkloadRenderItem::Payload>(renderItem));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue