Commit a1d38362 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

update triangle count in DrawMesh after rebuild() #refs 1987

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18102 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1a3bc550
......@@ -548,6 +548,7 @@ DrawMeshT<Mesh>::rebuild()
// get vertex buffer
numTris_ = meshComp_->getNumTriangles();
numVerts_ = meshComp_->getNumVertices();
delete [] vertices_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment