Fixed indentation
This commit is contained in:
parent
0235448cd1
commit
27afe58f77
@ -511,16 +511,16 @@ bool Geometry::insertPrimitiveSet(unsigned int i,PrimitiveSet* primitiveset)
|
||||
|
||||
void Geometry::setPrimitiveSetList(const PrimitiveSetList& primitives)
|
||||
{
|
||||
_primitives = primitives;
|
||||
if (_useVertexBufferObjects)
|
||||
{
|
||||
for (unsigned int primitiveSetIndex=0;primitiveSetIndex<_primitives.size();++primitiveSetIndex)
|
||||
{
|
||||
addElementBufferObjectIfRequired(_primitives[primitiveSetIndex]);
|
||||
}
|
||||
|
||||
}
|
||||
dirtyDisplayList(); dirtyBound();
|
||||
_primitives = primitives;
|
||||
if (_useVertexBufferObjects)
|
||||
{
|
||||
for (unsigned int primitiveSetIndex=0;primitiveSetIndex<_primitives.size();++primitiveSetIndex)
|
||||
{
|
||||
addElementBufferObjectIfRequired(_primitives[primitiveSetIndex]);
|
||||
}
|
||||
|
||||
}
|
||||
dirtyDisplayList(); dirtyBound();
|
||||
}
|
||||
|
||||
bool Geometry::removePrimitiveSet(unsigned int i, unsigned int numElementsToRemove)
|
||||
|
Loading…
Reference in New Issue
Block a user