|
|
@@ -419,7 +419,7 @@ void Drawable::RemoveFromOctree()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-bool WriteDrawablesToOBJ(PODVector<Drawable*> drawables, File* outputFile, bool asZUp, bool asRightHanded, bool writeLightmapUV)
|
|
|
+bool WriteDrawablesToOBJ(const PODVector<Drawable*>& drawables, File* outputFile, bool asZUp, bool asRightHanded, bool writeLightmapUV)
|
|
|
{
|
|
|
// Must track indices independently to deal with potential mismatching of drawables vertex attributes (ie. one with UV, another without, then another with)
|
|
|
unsigned currentPositionIndex = 1;
|