mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
fix transforms for items with non-default registration point
This commit is contained in:
parent
47888b4671
commit
a878559e0c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ void RenderableLightEntityItem::render(RenderArgs* args) {
|
|||
#ifdef WANT_DEBUG
|
||||
Q_ASSERT(args->_batch);
|
||||
gpu::Batch& batch = *args->_batch;
|
||||
batch.setModelTransform(getTransform());
|
||||
batch.setModelTransform(getTransformToCenter());
|
||||
DependencyManager::get<DeferredLightingEffect>()->renderWireSphere(batch, 0.5f, 15, 15, glm::vec4(color, 1.0f));
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue