Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2006-12-02 01:44:27 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2006-12-02 01:44:27 +0300
commit451cb25e4e87f1b7e8a505cd93b0fb1c6dac59df (patch)
tree44cde5b89df3b4956f0b6062739e6017527074cb /source/blender/src/buttons_editing.c
parent662ce4a3682944e6d28e223ac6a101363cfd4734 (diff)
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.
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 0c307382187..9f6ea8ec2a3 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -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);
+ }
}
}