Fixed indentation

This commit is contained in:
Robert Osfield 2010-11-22 15:52:20 +00:00
parent 0235448cd1
commit 27afe58f77

View File

@ -511,16 +511,16 @@ bool Geometry::insertPrimitiveSet(unsigned int i,PrimitiveSet* primitiveset)
void Geometry::setPrimitiveSetList(const PrimitiveSetList& primitives) void Geometry::setPrimitiveSetList(const PrimitiveSetList& primitives)
{ {
_primitives = primitives; _primitives = primitives;
if (_useVertexBufferObjects) if (_useVertexBufferObjects)
{ {
for (unsigned int primitiveSetIndex=0;primitiveSetIndex<_primitives.size();++primitiveSetIndex) for (unsigned int primitiveSetIndex=0;primitiveSetIndex<_primitives.size();++primitiveSetIndex)
{ {
addElementBufferObjectIfRequired(_primitives[primitiveSetIndex]); addElementBufferObjectIfRequired(_primitives[primitiveSetIndex]);
} }
} }
dirtyDisplayList(); dirtyBound(); dirtyDisplayList(); dirtyBound();
} }
bool Geometry::removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove) bool Geometry::removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove)