forked from bartvdbraak/blender
* another commit adding std:: to the sort call (older msvc [<9] choked?)
This commit is contained in:
parent
8a8a12ed84
commit
01b1bd4901
@ -676,7 +676,7 @@ void RAS_MeshObject::SortPolygons(const MT_Transform &transform)
|
||||
slots[j].get(vertexarray, indexarray, j*nvert, nvert, pnorm);
|
||||
|
||||
/* sort (stable_sort might be better, if flickering happens?) */
|
||||
sort(slots.begin(), slots.end(), backtofront());
|
||||
std::sort(slots.begin(), slots.end(), backtofront());
|
||||
|
||||
/* get indices from temporary array again */
|
||||
for(j=0; j<totpoly; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user