From 53b2930ef41a6c0ad2c2b3d6553ebda457cd59cc Mon Sep 17 00:00:00 2001 From: lichanghao <542103276@qq.com> Date: Tue, 19 Nov 2024 23:50:50 -0500 Subject: [PATCH] modified dump_image.cpp, line 1100, fixed an indexing bug causing rendering error --- src/dump_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dump_image.cpp b/src/dump_image.cpp index f8403e7c711..9610ef4d9a9 100644 --- a/src/dump_image.cpp +++ b/src/dump_image.cpp @@ -1097,7 +1097,7 @@ void DumpImage::create_image() color = colortype[itype]; } - ibonus = body[i]; + ibonus = body[j]; n = bptr->image(ibonus,bodyflag1,bodyflag2,bodyvec,bodyarray); for (k = 0; k < n; k++) { if (bodyvec[k] == SPHERE)