diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 75 |
1 files changed, 38 insertions, 37 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 37a629f46d0..28f2d76f7ed 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -45,6 +45,7 @@ #include "MEM_guardedalloc.h" #include "BLI_math.h" +#include "BLF_api.h" #include "BKE_animsys.h" #include "BKE_bmesh.h" /* For BevelModifierData */ @@ -55,43 +56,43 @@ #include "WM_types.h" EnumPropertyItem modifier_type_items[] ={ - {0, "", 0, "Generate", ""}, - {eModifierType_Array, "ARRAY", ICON_MOD_ARRAY, "Array", ""}, - {eModifierType_Bevel, "BEVEL", ICON_MOD_BEVEL, "Bevel", ""}, - {eModifierType_Boolean, "BOOLEAN", ICON_MOD_BOOLEAN, "Boolean", ""}, - {eModifierType_Build, "BUILD", ICON_MOD_BUILD, "Build", ""}, - {eModifierType_Decimate, "DECIMATE", ICON_MOD_DECIM, "Decimate", ""}, - {eModifierType_EdgeSplit, "EDGE_SPLIT", ICON_MOD_EDGESPLIT, "Edge Split", ""}, - {eModifierType_Mask, "MASK", ICON_MOD_MASK, "Mask", ""}, - {eModifierType_Mirror, "MIRROR", ICON_MOD_MIRROR, "Mirror", ""}, - {eModifierType_Multires, "MULTIRES", ICON_MOD_MULTIRES, "Multiresolution", ""}, - {eModifierType_Screw, "SCREW", ICON_MOD_SCREW, "Screw", ""}, - {eModifierType_Solidify, "SOLIDIFY", ICON_MOD_SOLIDIFY, "Solidify", ""}, - {eModifierType_Subsurf, "SUBSURF", ICON_MOD_SUBSURF, "Subdivision Surface", ""}, - {eModifierType_UVProject, "UV_PROJECT", ICON_MOD_UVPROJECT, "UV Project", ""}, - {0, "", 0, "Deform", ""}, - {eModifierType_Armature, "ARMATURE", ICON_MOD_ARMATURE, "Armature", ""}, - {eModifierType_Cast, "CAST", ICON_MOD_CAST, "Cast", ""}, - {eModifierType_Curve, "CURVE", ICON_MOD_CURVE, "Curve", ""}, - {eModifierType_Displace, "DISPLACE", ICON_MOD_DISPLACE, "Displace", ""}, - {eModifierType_Hook, "HOOK", ICON_HOOK, "Hook", ""}, - {eModifierType_Lattice, "LATTICE", ICON_MOD_LATTICE, "Lattice", ""}, - {eModifierType_MeshDeform, "MESH_DEFORM", ICON_MOD_MESHDEFORM, "Mesh Deform", ""}, - {eModifierType_Shrinkwrap, "SHRINKWRAP", ICON_MOD_SHRINKWRAP, "Shrinkwrap", ""}, - {eModifierType_SimpleDeform, "SIMPLE_DEFORM", ICON_MOD_SIMPLEDEFORM, "Simple Deform", ""}, - {eModifierType_Smooth, "SMOOTH", ICON_MOD_SMOOTH, "Smooth", ""}, - {eModifierType_Warp, "WARP", ICON_MOD_SUBSURF, "Warp", ""}, - {eModifierType_Wave, "WAVE", ICON_MOD_WAVE, "Wave", ""}, - {0, "", 0, "Simulate", ""}, - {eModifierType_Cloth, "CLOTH", ICON_MOD_CLOTH, "Cloth", ""}, - {eModifierType_Collision, "COLLISION", ICON_MOD_PHYSICS, "Collision", ""}, - {eModifierType_Explode, "EXPLODE", ICON_MOD_EXPLODE, "Explode", ""}, - {eModifierType_Fluidsim, "FLUID_SIMULATION", ICON_MOD_FLUIDSIM, "Fluid Simulation", ""}, - {eModifierType_ParticleInstance, "PARTICLE_INSTANCE", ICON_MOD_PARTICLES, "Particle Instance", ""}, - {eModifierType_ParticleSystem, "PARTICLE_SYSTEM", ICON_MOD_PARTICLES, "Particle System", ""}, - {eModifierType_Smoke, "SMOKE", ICON_MOD_SMOKE, "Smoke", ""}, - {eModifierType_Softbody, "SOFT_BODY", ICON_MOD_SOFT, "Soft Body", ""}, - {eModifierType_Surface, "SURFACE", ICON_MOD_PHYSICS, "Surface", ""}, + {0, "", 0, N_("Generate"), ""}, + {eModifierType_Array, "ARRAY", ICON_MOD_ARRAY, N_("Array"), ""}, + {eModifierType_Bevel, "BEVEL", ICON_MOD_BEVEL, N_("Bevel"), ""}, + {eModifierType_Boolean, "BOOLEAN", ICON_MOD_BOOLEAN, N_("Boolean"), ""}, + {eModifierType_Build, "BUILD", ICON_MOD_BUILD, N_("Build"), ""}, + {eModifierType_Decimate, "DECIMATE", ICON_MOD_DECIM, N_("Decimate"), ""}, + {eModifierType_EdgeSplit, "EDGE_SPLIT", ICON_MOD_EDGESPLIT, N_("Edge Split"), ""}, + {eModifierType_Mask, "MASK", ICON_MOD_MASK, N_("Mask"), ""}, + {eModifierType_Mirror, "MIRROR", ICON_MOD_MIRROR, N_("Mirror"), ""}, + {eModifierType_Multires, "MULTIRES", ICON_MOD_MULTIRES, N_("Multiresolution"), ""}, + {eModifierType_Screw, "SCREW", ICON_MOD_SCREW, N_("Screw"), ""}, + {eModifierType_Solidify, "SOLIDIFY", ICON_MOD_SOLIDIFY, N_("Solidify"), ""}, + {eModifierType_Subsurf, "SUBSURF", ICON_MOD_SUBSURF, N_("Subdivision Surface"), ""}, + {eModifierType_UVProject, "UV_PROJECT", ICON_MOD_UVPROJECT, N_("UV Project"), ""}, + {0, "", 0, N_("Deform"), ""}, + {eModifierType_Armature, "ARMATURE", ICON_MOD_ARMATURE, N_("Armature"), ""}, + {eModifierType_Cast, "CAST", ICON_MOD_CAST, N_("Cast"), ""}, + {eModifierType_Curve, "CURVE", ICON_MOD_CURVE, N_("Curve"), ""}, + {eModifierType_Displace, "DISPLACE", ICON_MOD_DISPLACE, N_("Displace"), ""}, + {eModifierType_Hook, "HOOK", ICON_HOOK, N_("Hook"), ""}, + {eModifierType_Lattice, "LATTICE", ICON_MOD_LATTICE, N_("Lattice"), ""}, + {eModifierType_MeshDeform, "MESH_DEFORM", ICON_MOD_MESHDEFORM, N_("Mesh Deform"), ""}, + {eModifierType_Shrinkwrap, "SHRINKWRAP", ICON_MOD_SHRINKWRAP, N_("Shrinkwrap"), ""}, + {eModifierType_SimpleDeform, "SIMPLE_DEFORM", ICON_MOD_SIMPLEDEFORM, N_("Simple Deform"), ""}, + {eModifierType_Smooth, "SMOOTH", ICON_MOD_SMOOTH, N_("Smooth"), ""}, + {eModifierType_Warp, "WARP", ICON_MOD_SUBSURF, N_("Warp"), ""}, + {eModifierType_Wave, "WAVE", ICON_MOD_WAVE, N_("Wave"), ""}, + {0, "", 0, N_("Simulate"), ""}, + {eModifierType_Cloth, "CLOTH", ICON_MOD_CLOTH, N_("Cloth"), ""}, + {eModifierType_Collision, "COLLISION", ICON_MOD_PHYSICS, N_("Collision"), ""}, + {eModifierType_Explode, "EXPLODE", ICON_MOD_EXPLODE, N_("Explode"), ""}, + {eModifierType_Fluidsim, "FLUID_SIMULATION", ICON_MOD_FLUIDSIM, N_("Fluid Simulation"), ""}, + {eModifierType_ParticleInstance, "PARTICLE_INSTANCE", ICON_MOD_PARTICLES, N_("Particle Instance"), ""}, + {eModifierType_ParticleSystem, "PARTICLE_SYSTEM", ICON_MOD_PARTICLES, N_("Particle System"), ""}, + {eModifierType_Smoke, "SMOKE", ICON_MOD_SMOKE, N_("Smoke"), ""}, + {eModifierType_Softbody, "SOFT_BODY", ICON_MOD_SOFT, N_("Soft Body"), ""}, + {eModifierType_Surface, "SURFACE", ICON_MOD_PHYSICS, N_("Surface"), ""}, {0, NULL, 0, NULL, NULL}}; #ifdef RNA_RUNTIME |