mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
Fixed problem with avatars rendering at 2X their location
This commit is contained in:
parent
449e05fd2a
commit
54cef39f51
1 changed files with 0 additions and 2 deletions
|
@ -830,8 +830,6 @@ void display(void)
|
||||||
if (agent->getLinkedData() != NULL) {
|
if (agent->getLinkedData() != NULL) {
|
||||||
Head *agentHead = (Head *)agent->getLinkedData();
|
Head *agentHead = (Head *)agent->getLinkedData();
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
glm::vec3 pos = agentHead->getBodyPosition();
|
|
||||||
glTranslatef(pos.x, pos.y, pos.z);
|
|
||||||
agentHead->render(0);
|
agentHead->render(0);
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue