mirror of
https://github.com/lubosz/overte.git
synced 2025-08-19 09:32:53 +02:00
Merge pull request #103 from birarda/master
fix rendering of other agent types
This commit is contained in:
commit
84adea86e3
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ void display(void)
|
||||||
for(std::vector<Agent>::iterator agent = agentList->getAgents().begin();
|
for(std::vector<Agent>::iterator agent = agentList->getAgents().begin();
|
||||||
agent != agentList->getAgents().end();
|
agent != agentList->getAgents().end();
|
||||||
agent++) {
|
agent++) {
|
||||||
if (agent->getLinkedData() != NULL) {
|
if (agent->getLinkedData() != NULL && agent->getType() == AGENT_TYPE_AVATAR) {
|
||||||
Head *avatar = (Head *)agent->getLinkedData();
|
Head *avatar = (Head *)agent->getLinkedData();
|
||||||
//glPushMatrix();
|
//glPushMatrix();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue