mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
don't render agents that are not of type avatar
This commit is contained in:
parent
f10ec0b391
commit
ba4235c175
1 changed files with 1 additions and 1 deletions
|
@ -915,7 +915,7 @@ void display(void)
|
|||
for(std::vector<Agent>::iterator agent = agentList->getAgents().begin();
|
||||
agent != agentList->getAgents().end();
|
||||
agent++) {
|
||||
if (agent->getLinkedData() != NULL) {
|
||||
if (agent->getLinkedData() != NULL && agent->getType() == AGENT_TYPE_AVATAR) {
|
||||
Head *avatar = (Head *)agent->getLinkedData();
|
||||
//glPushMatrix();
|
||||
|
||||
|
|
Loading…
Reference in a new issue