UI: make many modifier strings translatable
This includes: - new modifier names It mostly uses `N_` because the strings are actually translated elsewhere. The goal is simply to export them to .po files. Most of the new translations were reported in T43295#1105335. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15418
This commit is contained in:
parent
914617f8fd
commit
180db0f752
|
@ -266,7 +266,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Armature = {
|
||||
/* name */ "Armature",
|
||||
/* name */ N_("Armature"),
|
||||
/* structName */ "ArmatureModifierData",
|
||||
/* structSize */ sizeof(ArmatureModifierData),
|
||||
/* srna */ &RNA_ArmatureModifier,
|
||||
|
|
|
@ -1002,7 +1002,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Array = {
|
||||
/* name */ "Array",
|
||||
/* name */ N_("Array"),
|
||||
/* structName */ "ArrayModifierData",
|
||||
/* structSize */ sizeof(ArrayModifierData),
|
||||
/* srna */ &RNA_ArrayModifier,
|
||||
|
|
|
@ -417,7 +417,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Bevel = {
|
||||
/* name */ "Bevel",
|
||||
/* name */ N_("Bevel"),
|
||||
/* structName */ "BevelModifierData",
|
||||
/* structSize */ sizeof(BevelModifierData),
|
||||
/* srna */ &RNA_BevelModifier,
|
||||
|
|
|
@ -639,7 +639,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Boolean = {
|
||||
/* name */ "Boolean",
|
||||
/* name */ N_("Boolean"),
|
||||
/* structName */ "BooleanModifierData",
|
||||
/* structSize */ sizeof(BooleanModifierData),
|
||||
/* srna */ &RNA_BooleanModifier,
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include "BLI_math_vector.h"
|
||||
#include "BLI_rand.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DNA_defaults.h"
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
@ -311,7 +313,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Build = {
|
||||
/* name */ "Build",
|
||||
/* name */ N_("Build"),
|
||||
/* structName */ "BuildModifierData",
|
||||
/* structSize */ sizeof(BuildModifierData),
|
||||
/* srna */ &RNA_BuildModifier,
|
||||
|
|
|
@ -559,7 +559,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Cast = {
|
||||
/* name */ "Cast",
|
||||
/* name */ N_("Cast"),
|
||||
/* structName */ "CastModifierData",
|
||||
/* structSize */ sizeof(CastModifierData),
|
||||
/* srna */ &RNA_CastModifier,
|
||||
|
|
|
@ -275,7 +275,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Cloth = {
|
||||
/* name */ "Cloth",
|
||||
/* name */ N_("Cloth"),
|
||||
/* structName */ "ClothModifierData",
|
||||
/* structSize */ sizeof(ClothModifierData),
|
||||
/* srna */ &RNA_ClothModifier,
|
||||
|
|
|
@ -284,7 +284,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Collision = {
|
||||
/* name */ "Collision",
|
||||
/* name */ N_("Collision"),
|
||||
/* structName */ "CollisionModifierData",
|
||||
/* structSize */ sizeof(CollisionModifierData),
|
||||
/* srna */ &RNA_CollisionModifier,
|
||||
|
|
|
@ -835,7 +835,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_CorrectiveSmooth = {
|
||||
/* name */ "CorrectiveSmooth",
|
||||
/* name */ N_("CorrectiveSmooth"),
|
||||
/* structName */ "CorrectiveSmoothModifierData",
|
||||
/* structSize */ sizeof(CorrectiveSmoothModifierData),
|
||||
/* srna */ &RNA_CorrectiveSmoothModifier,
|
||||
|
|
|
@ -203,7 +203,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Curve = {
|
||||
/* name */ "Curve",
|
||||
/* name */ N_("Curve"),
|
||||
/* structName */ "CurveModifierData",
|
||||
/* structSize */ sizeof(CurveModifierData),
|
||||
/* srna */ &RNA_CurveModifier,
|
||||
|
|
|
@ -474,7 +474,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
#undef DT_TYPES_AFFECT_MESH
|
||||
|
||||
ModifierTypeInfo modifierType_DataTransfer = {
|
||||
/* name */ "DataTransfer",
|
||||
/* name */ N_("DataTransfer"),
|
||||
/* structName */ "DataTransferModifierData",
|
||||
/* structSize */ sizeof(DataTransferModifierData),
|
||||
/* srna */ &RNA_DataTransferModifier,
|
||||
|
|
|
@ -271,7 +271,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Decimate = {
|
||||
/* name */ "Decimate",
|
||||
/* name */ N_("Decimate"),
|
||||
/* structName */ "DecimateModifierData",
|
||||
/* structSize */ sizeof(DecimateModifierData),
|
||||
/* srna */ &RNA_DecimateModifier,
|
||||
|
|
|
@ -473,7 +473,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Displace = {
|
||||
/* name */ "Displace",
|
||||
/* name */ N_("Displace"),
|
||||
/* structName */ "DisplaceModifierData",
|
||||
/* structSize */ sizeof(DisplaceModifierData),
|
||||
/* srna */ &RNA_DisplaceModifier,
|
||||
|
|
|
@ -189,7 +189,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_DynamicPaint = {
|
||||
/* name */ "Dynamic Paint",
|
||||
/* name */ N_("Dynamic Paint"),
|
||||
/* structName */ "DynamicPaintModifierData",
|
||||
/* structSize */ sizeof(DynamicPaintModifierData),
|
||||
/* srna */ &RNA_DynamicPaintModifier,
|
||||
|
|
|
@ -154,7 +154,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_EdgeSplit = {
|
||||
/* name */ "EdgeSplit",
|
||||
/* name */ N_("EdgeSplit"),
|
||||
/* structName */ "EdgeSplitModifierData",
|
||||
/* structSize */ sizeof(EdgeSplitModifierData),
|
||||
/* srna */ &RNA_EdgeSplitModifier,
|
||||
|
|
|
@ -1224,7 +1224,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Explode = {
|
||||
/* name */ "Explode",
|
||||
/* name */ N_("Explode"),
|
||||
/* structName */ "ExplodeModifierData",
|
||||
/* structSize */ sizeof(ExplodeModifierData),
|
||||
/* srna */ &RNA_ExplodeModifier,
|
||||
|
|
|
@ -241,7 +241,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Fluid = {
|
||||
/* name */ "Fluid",
|
||||
/* name */ N_("Fluid"),
|
||||
/* structName */ "FluidModifierData",
|
||||
/* structSize */ sizeof(FluidModifierData),
|
||||
/* srna */ &RNA_FluidModifier,
|
||||
|
|
|
@ -545,7 +545,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Hook = {
|
||||
/* name */ "Hook",
|
||||
/* name */ N_("Hook"),
|
||||
/* structName */ "HookModifierData",
|
||||
/* structSize */ sizeof(HookModifierData),
|
||||
/* srna */ &RNA_HookModifier,
|
||||
|
|
|
@ -875,7 +875,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_LaplacianDeform = {
|
||||
/* name */ "LaplacianDeform",
|
||||
/* name */ N_("LaplacianDeform"),
|
||||
/* structName */ "LaplacianDeformModifierData",
|
||||
/* structSize */ sizeof(LaplacianDeformModifierData),
|
||||
/* srna */ &RNA_LaplacianDeformModifier,
|
||||
|
|
|
@ -608,7 +608,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_LaplacianSmooth = {
|
||||
/* name */ "LaplacianSmooth",
|
||||
/* name */ N_("LaplacianSmooth"),
|
||||
/* structName */ "LaplacianSmoothModifierData",
|
||||
/* structSize */ sizeof(LaplacianSmoothModifierData),
|
||||
/* srna */ &RNA_LaplacianSmoothModifier,
|
||||
|
|
|
@ -160,7 +160,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Lattice = {
|
||||
/* name */ "Lattice",
|
||||
/* name */ N_("Lattice"),
|
||||
/* structName */ "LatticeModifierData",
|
||||
/* structSize */ sizeof(LatticeModifierData),
|
||||
/* srna */ &RNA_LatticeModifier,
|
||||
|
|
|
@ -804,7 +804,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Mask = {
|
||||
/* name */ "Mask",
|
||||
/* name */ N_("Mask"),
|
||||
/* structName */ "MaskModifierData",
|
||||
/* structSize */ sizeof(MaskModifierData),
|
||||
/* srna */ &RNA_MaskModifier,
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include "BKE_object.h"
|
||||
#include "BKE_volume.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -202,7 +204,7 @@ static void modifyGeometrySet(ModifierData *md,
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_MeshToVolume = {
|
||||
/* name */ "Mesh to Volume",
|
||||
/* name */ N_("Mesh to Volume"),
|
||||
/* structName */ "MeshToVolumeModifierData",
|
||||
/* structSize */ sizeof(MeshToVolumeModifierData),
|
||||
/* srna */ &RNA_MeshToVolumeModifier,
|
||||
|
|
|
@ -416,7 +416,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_MeshCache = {
|
||||
/* name */ "MeshCache",
|
||||
/* name */ N_("MeshCache"),
|
||||
/* structName */ "MeshCacheModifierData",
|
||||
/* structSize */ sizeof(MeshCacheModifierData),
|
||||
/* srna */ &RNA_MeshCacheModifier,
|
||||
|
|
|
@ -650,7 +650,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_MeshDeform = {
|
||||
/* name */ "MeshDeform",
|
||||
/* name */ N_("MeshDeform"),
|
||||
/* structName */ "MeshDeformModifierData",
|
||||
/* structSize */ sizeof(MeshDeformModifierData),
|
||||
/* srna */ &RNA_MeshDeformModifier,
|
||||
|
|
|
@ -392,7 +392,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_MeshSequenceCache = {
|
||||
/* name */ "MeshSequenceCache",
|
||||
/* name */ N_("MeshSequenceCache"),
|
||||
/* structName */ "MeshSeqCacheModifierData",
|
||||
/* structSize */ sizeof(MeshSeqCacheModifierData),
|
||||
/* srna */ &RNA_MeshSequenceCacheModifier,
|
||||
|
|
|
@ -204,7 +204,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Mirror = {
|
||||
/* name */ "Mirror",
|
||||
/* name */ N_("Mirror"),
|
||||
/* structName */ "MirrorModifierData",
|
||||
/* structSize */ sizeof(MirrorModifierData),
|
||||
/* srna */ &RNA_MirrorModifier,
|
||||
|
|
|
@ -487,7 +487,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Multires = {
|
||||
/* name */ "Multires",
|
||||
/* name */ N_("Multires"),
|
||||
/* structName */ "MultiresModifierData",
|
||||
/* structSize */ sizeof(MultiresModifierData),
|
||||
/* srna */ &RNA_MultiresModifier,
|
||||
|
|
|
@ -1825,7 +1825,7 @@ static void requiredDataMask(Object *UNUSED(ob),
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Nodes = {
|
||||
/* name */ "GeometryNodes",
|
||||
/* name */ N_("GeometryNodes"),
|
||||
/* structName */ "NodesModifierData",
|
||||
/* structSize */ sizeof(NodesModifierData),
|
||||
/* srna */ &RNA_NodesModifier,
|
||||
|
|
|
@ -756,7 +756,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_NormalEdit = {
|
||||
/* name */ "NormalEdit",
|
||||
/* name */ N_("NormalEdit"),
|
||||
/* structName */ "NormalEditModifierData",
|
||||
/* structSize */ sizeof(NormalEditModifierData),
|
||||
/* srna */ &RNA_NormalEditModifier,
|
||||
|
|
|
@ -701,7 +701,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Ocean = {
|
||||
/* name */ "Ocean",
|
||||
/* name */ N_("Ocean"),
|
||||
/* structName */ "OceanModifierData",
|
||||
/* structSize */ sizeof(OceanModifierData),
|
||||
/* srna */ &RNA_OceanModifier,
|
||||
|
|
|
@ -644,7 +644,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_ParticleInstance = {
|
||||
/* name */ "ParticleInstance",
|
||||
/* name */ N_("ParticleInstance"),
|
||||
/* structName */ "ParticleInstanceModifierData",
|
||||
/* structSize */ sizeof(ParticleInstanceModifierData),
|
||||
/* srna */ &RNA_ParticleInstanceModifier,
|
||||
|
|
|
@ -301,7 +301,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_ParticleSystem = {
|
||||
/* name */ "ParticleSystem",
|
||||
/* name */ N_("ParticleSystem"),
|
||||
/* structName */ "ParticleSystemModifierData",
|
||||
/* structSize */ sizeof(ParticleSystemModifierData),
|
||||
/* srna */ &RNA_ParticleSystemModifier,
|
||||
|
|
|
@ -268,7 +268,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Remesh = {
|
||||
/* name */ "Remesh",
|
||||
/* name */ N_("Remesh"),
|
||||
/* structName */ "RemeshModifierData",
|
||||
/* structSize */ sizeof(RemeshModifierData),
|
||||
/* srna */ &RNA_RemeshModifier,
|
||||
|
|
|
@ -1235,7 +1235,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Screw = {
|
||||
/* name */ "Screw",
|
||||
/* name */ N_("Screw"),
|
||||
/* structName */ "ScrewModifierData",
|
||||
/* structSize */ sizeof(ScrewModifierData),
|
||||
/* srna */ &RNA_ScrewModifier,
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "BLI_math.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DNA_key_types.h"
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -108,7 +110,7 @@ static void deformMatricesEM(ModifierData *UNUSED(md),
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_ShapeKey = {
|
||||
/* name */ "ShapeKey",
|
||||
/* name */ N_("ShapeKey"),
|
||||
/* structName */ "ShapeKeyModifierData",
|
||||
/* structSize */ sizeof(ShapeKeyModifierData),
|
||||
/* srna */ &RNA_Modifier,
|
||||
|
|
|
@ -260,7 +260,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Shrinkwrap = {
|
||||
/* name */ "Shrinkwrap",
|
||||
/* name */ N_("Shrinkwrap"),
|
||||
/* structName */ "ShrinkwrapModifierData",
|
||||
/* structSize */ sizeof(ShrinkwrapModifierData),
|
||||
/* srna */ &RNA_ShrinkwrapModifier,
|
||||
|
|
|
@ -564,7 +564,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_SimpleDeform = {
|
||||
/* name */ "SimpleDeform",
|
||||
/* name */ N_("SimpleDeform"),
|
||||
/* structName */ "SimpleDeformModifierData",
|
||||
/* structSize */ sizeof(SimpleDeformModifierData),
|
||||
/* srna */ &RNA_SimpleDeformModifier,
|
||||
|
|
|
@ -2069,7 +2069,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Skin = {
|
||||
/* name */ "Skin",
|
||||
/* name */ N_("Skin"),
|
||||
/* structName */ "SkinModifierData",
|
||||
/* structSize */ sizeof(SkinModifierData),
|
||||
/* srna */ &RNA_SkinModifier,
|
||||
|
|
|
@ -253,7 +253,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Smooth = {
|
||||
/* name */ "Smooth",
|
||||
/* name */ N_("Smooth"),
|
||||
/* structName */ "SmoothModifierData",
|
||||
/* structSize */ sizeof(SmoothModifierData),
|
||||
/* srna */ &RNA_SmoothModifier,
|
||||
|
|
|
@ -86,7 +86,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Softbody = {
|
||||
/* name */ "Softbody",
|
||||
/* name */ N_("Softbody"),
|
||||
/* structName */ "SoftbodyModifierData",
|
||||
/* structSize */ sizeof(SoftbodyModifierData),
|
||||
/* srna */ &RNA_SoftBodyModifier,
|
||||
|
|
|
@ -241,7 +241,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Solidify = {
|
||||
/* name */ "Solidify",
|
||||
/* name */ N_("Solidify"),
|
||||
/* structName */ "SolidifyModifierData",
|
||||
/* structSize */ sizeof(SolidifyModifierData),
|
||||
/* srna */ &RNA_SolidifyModifier,
|
||||
|
|
|
@ -472,7 +472,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Subsurf = {
|
||||
/* name */ "Subdivision",
|
||||
/* name */ N_("Subdivision"),
|
||||
/* structName */ "SubsurfModifierData",
|
||||
/* structSize */ sizeof(SubsurfModifierData),
|
||||
/* srna */ &RNA_SubsurfModifier,
|
||||
|
|
|
@ -211,7 +211,7 @@ static void blendRead(BlendDataReader *UNUSED(reader), ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Surface = {
|
||||
/* name */ "Surface",
|
||||
/* name */ N_("Surface"),
|
||||
/* structName */ "SurfaceModifierData",
|
||||
/* structSize */ sizeof(SurfaceModifierData),
|
||||
/* srna */ &RNA_SurfaceModifier,
|
||||
|
|
|
@ -1741,7 +1741,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_SurfaceDeform = {
|
||||
/* name */ "SurfaceDeform",
|
||||
/* name */ N_("SurfaceDeform"),
|
||||
/* structName */ "SurfaceDeformModifierData",
|
||||
/* structSize */ sizeof(SurfaceDeformModifierData),
|
||||
/* srna */ &RNA_SurfaceDeformModifier,
|
||||
|
|
|
@ -139,7 +139,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Triangulate = {
|
||||
/* name */ "Triangulate",
|
||||
/* name */ N_("Triangulate"),
|
||||
/* structName */ "TriangulateModifierData",
|
||||
/* structSize */ sizeof(TriangulateModifierData),
|
||||
/* srna */ &RNA_TriangulateModifier,
|
||||
|
|
|
@ -349,7 +349,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_UVProject = {
|
||||
/* name */ "UVProject",
|
||||
/* name */ N_("UVProject"),
|
||||
/* structName */ "UVProjectModifierData",
|
||||
/* structSize */ sizeof(UVProjectModifierData),
|
||||
/* srna */ &RNA_UVProjectModifier,
|
||||
|
|
|
@ -308,7 +308,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_UVWarp = {
|
||||
/* name */ "UVWarp",
|
||||
/* name */ N_("UVWarp"),
|
||||
/* structName */ "UVWarpModifierData",
|
||||
/* structSize */ sizeof(UVWarpModifierData),
|
||||
/* srna */ &RNA_UVWarpModifier,
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include "BKE_texture.h"
|
||||
#include "BKE_volume.h"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -307,7 +309,7 @@ static void modifyGeometrySet(ModifierData *md,
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_VolumeDisplace = {
|
||||
/* name */ "Volume Displace",
|
||||
/* name */ N_("Volume Displace"),
|
||||
/* structName */ "VolumeDisplaceModifierData",
|
||||
/* structSize */ sizeof(VolumeDisplaceModifierData),
|
||||
/* srna */ &RNA_VolumeDisplaceModifier,
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include "BKE_volume.h"
|
||||
#include "BKE_volume_to_mesh.hh"
|
||||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "MOD_modifiertypes.h"
|
||||
#include "MOD_ui_common.h"
|
||||
|
||||
|
@ -193,7 +195,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_VolumeToMesh = {
|
||||
/* name */ "Volume to Mesh",
|
||||
/* name */ N_("Volume to Mesh"),
|
||||
/* structName */ "VolumeToMeshModifierData",
|
||||
/* structSize */ sizeof(VolumeToMeshModifierData),
|
||||
/* srna */ &RNA_VolumeToMeshModifier,
|
||||
|
|
|
@ -510,7 +510,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Warp = {
|
||||
/* name */ "Warp",
|
||||
/* name */ N_("Warp"),
|
||||
/* structName */ "WarpModifierData",
|
||||
/* structSize */ sizeof(WarpModifierData),
|
||||
/* srna */ &RNA_WarpModifier,
|
||||
|
|
|
@ -372,7 +372,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
|
|||
uiItemR(sub, ptr, "use_normal_z", UI_ITEM_R_TOGGLE, "Z", ICON_NONE);
|
||||
|
||||
col = uiLayoutColumn(layout, false);
|
||||
uiItemR(col, ptr, "falloff_radius", 0, "Falloff", ICON_NONE);
|
||||
uiItemR(col, ptr, "falloff_radius", 0, IFACE_("Falloff"), ICON_NONE);
|
||||
uiItemR(col, ptr, "height", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
|
||||
uiItemR(col, ptr, "width", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
|
||||
uiItemR(col, ptr, "narrowness", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
|
||||
|
@ -394,7 +394,7 @@ static void position_panel_draw(const bContext *UNUSED(C), Panel *panel)
|
|||
uiItemR(layout, ptr, "start_position_object", 0, IFACE_("Object"), ICON_NONE);
|
||||
|
||||
col = uiLayoutColumn(layout, true);
|
||||
uiItemR(col, ptr, "start_position_x", 0, "Start Position X", ICON_NONE);
|
||||
uiItemR(col, ptr, "start_position_x", 0, IFACE_("Start Position X"), ICON_NONE);
|
||||
uiItemR(col, ptr, "start_position_y", 0, "Y", ICON_NONE);
|
||||
}
|
||||
|
||||
|
@ -408,9 +408,9 @@ static void time_panel_draw(const bContext *UNUSED(C), Panel *panel)
|
|||
uiLayoutSetPropSep(layout, true);
|
||||
|
||||
col = uiLayoutColumn(layout, false);
|
||||
uiItemR(col, ptr, "time_offset", 0, "Offset", ICON_NONE);
|
||||
uiItemR(col, ptr, "lifetime", 0, "Life", ICON_NONE);
|
||||
uiItemR(col, ptr, "damping_time", 0, "Damping", ICON_NONE);
|
||||
uiItemR(col, ptr, "time_offset", 0, IFACE_("Offset"), ICON_NONE);
|
||||
uiItemR(col, ptr, "lifetime", 0, IFACE_("Life"), ICON_NONE);
|
||||
uiItemR(col, ptr, "damping_time", 0, IFACE_("Damping"), ICON_NONE);
|
||||
uiItemR(col, ptr, "speed", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
|
||||
}
|
||||
|
||||
|
@ -462,7 +462,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Wave = {
|
||||
/* name */ "Wave",
|
||||
/* name */ N_("Wave"),
|
||||
/* structName */ "WaveModifierData",
|
||||
/* structSize */ sizeof(WaveModifierData),
|
||||
/* srna */ &RNA_WaveModifier,
|
||||
|
|
|
@ -726,7 +726,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_WeightedNormal = {
|
||||
/* name */ "WeightedNormal",
|
||||
/* name */ N_("WeightedNormal"),
|
||||
/* structName */ "WeightedNormalModifierData",
|
||||
/* structSize */ sizeof(WeightedNormalModifierData),
|
||||
/* srna */ &RNA_WeightedNormalModifier,
|
||||
|
|
|
@ -397,7 +397,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_WeightVGEdit = {
|
||||
/* name */ "VertexWeightEdit",
|
||||
/* name */ N_("VertexWeightEdit"),
|
||||
/* structName */ "WeightVGEditModifierData",
|
||||
/* structSize */ sizeof(WeightVGEditModifierData),
|
||||
/* srna */ &RNA_VertexWeightEditModifier,
|
||||
|
|
|
@ -496,7 +496,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_WeightVGMix = {
|
||||
/* name */ "VertexWeightMix",
|
||||
/* name */ N_("VertexWeightMix"),
|
||||
/* structName */ "WeightVGMixModifierData",
|
||||
/* structSize */ sizeof(WeightVGMixModifierData),
|
||||
/* srna */ &RNA_VertexWeightMixModifier,
|
||||
|
|
|
@ -737,7 +737,7 @@ static void blendRead(BlendDataReader *reader, ModifierData *md)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_WeightVGProximity = {
|
||||
/* name */ "VertexWeightProximity",
|
||||
/* name */ N_("VertexWeightProximity"),
|
||||
/* structName */ "WeightVGProximityModifierData",
|
||||
/* structSize */ sizeof(WeightVGProximityModifierData),
|
||||
/* srna */ &RNA_VertexWeightProximityModifier,
|
||||
|
|
|
@ -185,7 +185,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Weld = {
|
||||
/* name */ "Weld",
|
||||
/* name */ N_("Weld"),
|
||||
/* structName */ "WeldModifierData",
|
||||
/* structSize */ sizeof(WeldModifierData),
|
||||
/* srna */ &RNA_WeldModifier,
|
||||
|
|
|
@ -165,7 +165,7 @@ static void panelRegister(ARegionType *region_type)
|
|||
}
|
||||
|
||||
ModifierTypeInfo modifierType_Wireframe = {
|
||||
/* name */ "Wireframe",
|
||||
/* name */ N_("Wireframe"),
|
||||
/* structName */ "WireframeModifierData",
|
||||
/* structSize */ sizeof(WireframeModifierData),
|
||||
/* srna */ &RNA_WireframeModifier,
|
||||
|
|
Loading…
Reference in New Issue