summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-09-09 11:29:25 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-09-09 11:29:25 -0600
commit01098f5daba77e12fe739a3c8eaa722a95b83ea9 (patch)
treec0a90beda0f0e2d6e8b66fd1e74a04d54cb8b30e /indra/newview/llagent.cpp
parentf04fe8010ab1a0c980ecd197f37da66a7fda0ad6 (diff)
eliminate some redundant geometry rebuilding operations during teleporting
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index a7bd628d5a..d7965c1e8f 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -4015,6 +4015,7 @@ void LLAgent::teleportCancel()
}
clearTeleportRequest();
gAgent.setTeleportState( LLAgent::TELEPORT_NONE );
+ gPipeline.resetVertexBuffers();
}