mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-10 06:10:07 +00:00
Fixes overlapped hud menu
This commit is contained in:
parent
69b82a3832
commit
b3948bb336
@ -1706,12 +1706,12 @@ initHUD()
|
||||
350, 150, callbackCheckBox, kHUD_CB_FREEZE, ' ');
|
||||
|
||||
if (OpenSubdiv::OsdGLDrawContext::SupportsAdaptiveTessellation())
|
||||
g_hud.AddCheckBox("Adaptive (`)", g_adaptive!=0, 10, 150, callbackAdaptive, 0, '`');
|
||||
g_hud.AddCheckBox("Adaptive (`)", g_adaptive!=0, 10, 190, callbackAdaptive, 0, '`');
|
||||
|
||||
for (int i = 1; i < 11; ++i) {
|
||||
char level[16];
|
||||
sprintf(level, "Lv. %d", i);
|
||||
g_hud.AddRadioButton(3, level, i==2, 10, 170+i*20, callbackLevel, i, '0'+(i%10));
|
||||
g_hud.AddRadioButton(3, level, i==2, 10, 210+i*20, callbackLevel, i, '0'+(i%10));
|
||||
}
|
||||
|
||||
for (int i = 0; i < (int)g_defaultShapes.size(); ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user