modelcolor taken into account in sphere mdDisk alpha <= 1

This commit is contained in:
Zeno Rogue 2023-10-05 13:58:13 +02:00
parent 99f4b8698b
commit ff19ceb438
1 changed files with 3 additions and 0 deletions

View File

@ -2522,6 +2522,9 @@ EX void draw_model_elements() {
if(vrhr::active() && models::is_hyperboloid(pmodel)) return;
#endif
if(sphere && pconf.alpha <= 1 && pmodel == mdDisk)
queuecircle(current_display->xcenter, current_display->ycenter, current_display->xsize + current_display->ysize, ringcolor, PPR::OUTCIRCLE, modelcolor);
dynamicval<ld> lw(vid.linewidth, vid.linewidth * vid.multiplier_ring);
switch(pmodel) {