Fix T45149: Normal Node shows a hole in its sphere with heigh scale facs
This commit is contained in:
parent
211a95b538
commit
f0c5ed39ee
Notes:
blender-bot
2023-02-14 08:59:09 +01:00
Referenced by issue #45149, Normal Node shows a hole in its sphere when zoomed in on Retina Display
|
@ -1261,8 +1261,8 @@ void ui_draw_but_UNITVEC(uiBut *but, uiWidgetColors *wcol, const rcti *rect)
|
|||
size = BLI_rcti_size_x(rect) / 200.f;
|
||||
else
|
||||
size = BLI_rcti_size_y(rect) / 200.f;
|
||||
|
||||
glScalef(size, size, size);
|
||||
|
||||
glScalef(size, size, MIN2(size, 1.0f));
|
||||
|
||||
if (displist == 0) {
|
||||
GLUquadricObj *qobj;
|
||||
|
|
Loading…
Reference in New Issue