diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_decimate.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_decimate.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index bc7771d86b0..5fc3c506d36 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -38,6 +38,8 @@ #include "BLI_math.h" #include "BLI_utildefines.h" +#include "BLF_translation.h" + #include "MEM_guardedalloc.h" #include "BKE_mesh.h" @@ -96,8 +98,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob), } if(numTris<3) { - modifier_setError(md, - "Modifier requires more than 3 input faces (triangles)."); + modifier_setError(md, TIP_("Modifier requires more than 3 input faces (triangles).")); dm = CDDM_copy(dm); return dm; } @@ -172,12 +173,12 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *UNUSED(ob), CDDM_calc_edges_tessface(result); } else - modifier_setError(md, "Out of memory."); + modifier_setError(md, TIP_("Out of memory.")); LOD_FreeDecimationData(&lod); } else - modifier_setError(md, "Non-manifold mesh as input."); + modifier_setError(md, TIP_("Non-manifold mesh as input.")); MEM_freeN(lod.vertex_buffer); MEM_freeN(lod.vertex_normal_buffer); |