From ff19ceb43844e4979180d79671f7767d486d7053 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 5 Oct 2023 13:58:13 +0200 Subject: [PATCH] modelcolor taken into account in sphere mdDisk alpha <= 1 --- hypgraph.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index fa7ebde4..6c02f9dd 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -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 lw(vid.linewidth, vid.linewidth * vid.multiplier_ring); switch(pmodel) {