forked from bartvdbraak/blender
Bugfix for recent commit in strands, accidentally included code that
wasn't working yet, this should fix it.
This commit is contained in:
parent
2227c32b7f
commit
b9309909fb
@ -436,7 +436,7 @@ static int compare_strand_segment(const void *poin1, const void *poin2)
|
|||||||
const StrandSortSegment *seg1= (const StrandSortSegment*)poin1;
|
const StrandSortSegment *seg1= (const StrandSortSegment*)poin1;
|
||||||
const StrandSortSegment *seg2= (const StrandSortSegment*)poin2;
|
const StrandSortSegment *seg2= (const StrandSortSegment*)poin2;
|
||||||
|
|
||||||
if(seg1->z > seg2->z)
|
if(seg1->z < seg2->z)
|
||||||
return -1;
|
return -1;
|
||||||
else if(seg1->z == seg2->z)
|
else if(seg1->z == seg2->z)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user