[Bf-blender-cvs] [732bc8f] master: Clarification of UI messages:
Antony Riakiotakis
noreply at git.blender.org
Thu May 8 18:25:54 CEST 2014
Commit: 732bc8fcae1e2ff0cde489b8fbc130fa25e25fa1
Author: Antony Riakiotakis
Date: Thu May 8 19:25:46 2014 +0300
https://developer.blender.org/rB732bc8fcae1e2ff0cde489b8fbc130fa25e25fa1
Clarification of UI messages:
Show that modifier may not be supported in dyntopo rather than sculpt
mode in general. This is useful information since users may confuse the
two. Multires for instance is surely supported in sculpt mode, but not
in dyntopo.
===================================================================
M source/blender/blenkernel/intern/DerivedMesh.c
===================================================================
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index 43ee33e..8634b61 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -1599,7 +1599,8 @@ static void mesh_calc_modifiers(Scene *scene, Object *ob, float (*inputVertexCos
if (md->type == eModifierType_Multires && ((MultiresModifierData *)md)->sculptlvl == 0) {
/* If multires is on level 0 skip it silently without warning message. */
- continue;
+ if (!sculpt_dyntopo)
+ continue;
}
if (sculpt_dyntopo && !useRenderParams)
@@ -1611,7 +1612,10 @@ static void mesh_calc_modifiers(Scene *scene, Object *ob, float (*inputVertexCos
unsupported |= multires_applied;
if (unsupported) {
- modifier_setError(md, "Not supported in sculpt mode");
+ if (sculpt_dyntopo)
+ modifier_setError(md, "Not supported in dyntopo");
+ else
+ modifier_setError(md, "Not supported in sculpt mode");
continue;
}
else {
More information about the Bf-blender-cvs
mailing list