modified dump_image.cpp, line 1100, fixed an indexing bug causing rendering error
This commit is contained in:
@ -1097,7 +1097,7 @@ void DumpImage::create_image()
|
|||||||
color = colortype[itype];
|
color = colortype[itype];
|
||||||
}
|
}
|
||||||
|
|
||||||
ibonus = body[i];
|
ibonus = body[j];
|
||||||
n = bptr->image(ibonus,bodyflag1,bodyflag2,bodyvec,bodyarray);
|
n = bptr->image(ibonus,bodyflag1,bodyflag2,bodyvec,bodyarray);
|
||||||
for (k = 0; k < n; k++) {
|
for (k = 0; k < n; k++) {
|
||||||
if (bodyvec[k] == SPHERE)
|
if (bodyvec[k] == SPHERE)
|
||||||
|
|||||||
Reference in New Issue
Block a user