Added warning in the multires panel to alert user if they have a modifier that changes mesh topology enabled, the render level will not have any effect.

This commit is contained in:
2006-12-01 22:44:27 +00:00
parent 662ce4a368
commit 451cb25e4e
3 changed files with 31 additions and 0 deletions

View File

@@ -4802,6 +4802,12 @@ void editing_panel_mesh_multires()
uiDefButC(block,NUM,B_NOP,"Render: ",cx,cy,200,19,&me->mr->renderlvl,1.0,me->mr->level_count,0,0,"Set level to render");
cy-= 20;
if(multires_modifier_warning()) {
char *tip= "One or more modifiers are enabled that modify mesh topology";
uiDefIconBut(block,LABEL,B_NOP,ICON_ERROR, cx,cy,20,20, 0,0,0,0,0, tip);
uiDefBut(block,LABEL,B_NOP, "Cannot use render level", cx+20,cy,180,19, 0,0,0,0,0, tip);
}
}
}