Merge pull request #103 from birarda/master

fix rendering of other agent types
This commit is contained in:
birarda 2013-04-22 16:05:32 -07:00
commit 84adea86e3

View file

@ -932,7 +932,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();