Operation Dot-Kill finished
This commit is contained in:
@@ -700,19 +700,19 @@ static void rna_def_armature_edit_bones(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
func= RNA_def_function(srna, "new", "rna_Armature_edit_bone_new");
|
||||
RNA_def_function_flag(func, FUNC_USE_REPORTS);
|
||||
RNA_def_function_ui_description(func, "Add a new bone.");
|
||||
parm= RNA_def_string(func, "name", "Object", 0, "", "New name for the bone.");
|
||||
parm= RNA_def_string(func, "name", "Object", 0, "", "New name for the bone");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
|
||||
/* return type */
|
||||
parm= RNA_def_pointer(func, "bone", "EditBone", "", "Newly created edit bone.");
|
||||
parm= RNA_def_pointer(func, "bone", "EditBone", "", "Newly created edit bone");
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
/* remove target */
|
||||
func= RNA_def_function(srna, "remove", "rna_Armature_edit_bone_remove");
|
||||
RNA_def_function_flag(func, FUNC_USE_REPORTS);
|
||||
RNA_def_function_ui_description(func, "Remove an existing bone from the armature.");
|
||||
RNA_def_function_ui_description(func, "Remove an existing bone from the armature");
|
||||
/* target to remove*/
|
||||
parm= RNA_def_pointer(func, "bone", "EditBone", "", "EditBone to remove.");
|
||||
parm= RNA_def_pointer(func, "bone", "EditBone", "", "EditBone to remove");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
}
|
||||
|
||||
@@ -722,19 +722,19 @@ static void rna_def_armature(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_drawtype_items[] = {
|
||||
{ARM_OCTA, "OCTAHEDRAL", 0, "Octahedral", "Display bones as octahedral shape (default)."},
|
||||
{ARM_LINE, "STICK", 0, "Stick", "Display bones as simple 2D lines with dots."},
|
||||
{ARM_OCTA, "OCTAHEDRAL", 0, "Octahedral", "Display bones as octahedral shape (default)"},
|
||||
{ARM_LINE, "STICK", 0, "Stick", "Display bones as simple 2D lines with dots"},
|
||||
{ARM_B_BONE, "BBONE", 0, "B-Bone", "Display bones as boxes, showing subdivision and B-Splines"},
|
||||
{ARM_ENVELOPE, "ENVELOPE", 0, "Envelope", "Display bones as extruded spheres, showing defomation influence volume."},
|
||||
{ARM_ENVELOPE, "ENVELOPE", 0, "Envelope", "Display bones as extruded spheres, showing defomation influence volume"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
static EnumPropertyItem prop_ghost_type_items[] = {
|
||||
{ARM_GHOST_CUR, "CURRENT_FRAME", 0, "Around Frame", "Display Ghosts of poses within a fixed number of frames around the current frame."},
|
||||
{ARM_GHOST_RANGE, "RANGE", 0, "In Range", "Display Ghosts of poses within specified range."},
|
||||
{ARM_GHOST_KEYS, "KEYS", 0, "On Keyframes", "Display Ghosts of poses on Keyframes."},
|
||||
{ARM_GHOST_CUR, "CURRENT_FRAME", 0, "Around Frame", "Display Ghosts of poses within a fixed number of frames around the current frame"},
|
||||
{ARM_GHOST_RANGE, "RANGE", 0, "In Range", "Display Ghosts of poses within specified range"},
|
||||
{ARM_GHOST_KEYS, "KEYS", 0, "On Keyframes", "Display Ghosts of poses on Keyframes"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
static const EnumPropertyItem prop_pose_position_items[]= {
|
||||
{0, "POSE", 0, "Pose Position", "Show armature in posed state."},
|
||||
{ARM_RESTPOS, "REST", 0, "Rest Position", "Show Armature in binding pose state. No posing possible."},
|
||||
{0, "POSE", 0, "Pose Position", "Show armature in posed state"},
|
||||
{ARM_RESTPOS, "REST", 0, "Rest Position", "Show Armature in binding pose state. No posing possible"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Armature", "ID");
|
||||
|
||||
@@ -45,24 +45,24 @@
|
||||
#include "WM_types.h"
|
||||
|
||||
EnumPropertyItem boidrule_type_items[] ={
|
||||
{eBoidRuleType_Goal, "GOAL", 0, "Goal", "Go to assigned object or loudest assigned signal source."},
|
||||
{eBoidRuleType_Avoid, "AVOID", 0, "Avoid", "Get away from assigned object or loudest assigned signal source."},
|
||||
{eBoidRuleType_AvoidCollision, "AVOID_COLLISION", 0, "Avoid Collision", "Monoeuver to avoid collisions with other boids and deflector objects in near future."},
|
||||
{eBoidRuleType_Separate, "SEPARATE", 0, "Separate", "Keep from going through other boids."},
|
||||
{eBoidRuleType_Flock, "FLOCK", 0, "Flock", "Move to center of neighbors and match their velocity."},
|
||||
{eBoidRuleType_FollowLeader, "FOLLOW_LEADER", 0, "Follow Leader", "Follow a boid or assigned object."},
|
||||
{eBoidRuleType_AverageSpeed, "AVERAGE_SPEED", 0, "Average Speed", "Maintain speed, flight level or wander."},
|
||||
{eBoidRuleType_Fight, "FIGHT", 0, "Fight", "Go to closest enemy and attack when in range."},
|
||||
//{eBoidRuleType_Protect, "PROTECT", 0, "Protect", "Go to enemy closest to target and attack when in range."},
|
||||
//{eBoidRuleType_Hide, "HIDE", 0, "Hide", "Find a deflector move to it's other side from closest enemy."},
|
||||
//{eBoidRuleType_FollowPath, "FOLLOW_PATH", 0, "Follow Path", "Move along a assigned curve or closest curve in a group."},
|
||||
//{eBoidRuleType_FollowWall, "FOLLOW_WALL", 0, "Follow Wall", "Move next to a deflector object's in direction of it's tangent."},
|
||||
{eBoidRuleType_Goal, "GOAL", 0, "Goal", "Go to assigned object or loudest assigned signal source"},
|
||||
{eBoidRuleType_Avoid, "AVOID", 0, "Avoid", "Get away from assigned object or loudest assigned signal source"},
|
||||
{eBoidRuleType_AvoidCollision, "AVOID_COLLISION", 0, "Avoid Collision", "Maneuver to avoid collisions with other boids and deflector objects in near future"},
|
||||
{eBoidRuleType_Separate, "SEPARATE", 0, "Separate", "Keep from going through other boids"},
|
||||
{eBoidRuleType_Flock, "FLOCK", 0, "Flock", "Move to center of neighbors and match their velocity"},
|
||||
{eBoidRuleType_FollowLeader, "FOLLOW_LEADER", 0, "Follow Leader", "Follow a boid or assigned object"},
|
||||
{eBoidRuleType_AverageSpeed, "AVERAGE_SPEED", 0, "Average Speed", "Maintain speed, flight level or wander"},
|
||||
{eBoidRuleType_Fight, "FIGHT", 0, "Fight", "Go to closest enemy and attack when in range"},
|
||||
//{eBoidRuleType_Protect, "PROTECT", 0, "Protect", "Go to enemy closest to target and attack when in range"},
|
||||
//{eBoidRuleType_Hide, "HIDE", 0, "Hide", "Find a deflector move to it's other side from closest enemy"},
|
||||
//{eBoidRuleType_FollowPath, "FOLLOW_PATH", 0, "Follow Path", "Move along a assigned curve or closest curve in a group"},
|
||||
//{eBoidRuleType_FollowWall, "FOLLOW_WALL", 0, "Follow Wall", "Move next to a deflector object's in direction of it's tangent"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
EnumPropertyItem boidruleset_type_items[] ={
|
||||
{eBoidRulesetType_Fuzzy, "FUZZY", 0, "Fuzzy", "Rules are gone through top to bottom. Only the first rule that effect above fuzziness threshold is evaluated."},
|
||||
{eBoidRulesetType_Random, "RANDOM", 0, "Random", "A random rule is selected for each boid."},
|
||||
{eBoidRulesetType_Average, "AVERAGE", 0, "Average", "All rules are averaged."},
|
||||
{eBoidRulesetType_Fuzzy, "FUZZY", 0, "Fuzzy", "Rules are gone through top to bottom. Only the first rule that effect above fuzziness threshold is evaluated"},
|
||||
{eBoidRulesetType_Random, "RANDOM", 0, "Random", "A random rule is selected for each boid"},
|
||||
{eBoidRulesetType_Average, "AVERAGE", 0, "Average", "All rules are averaged"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
|
||||
|
||||
@@ -88,14 +88,14 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_blend_items[] = {
|
||||
{IMB_BLEND_MIX, "MIX", 0, "Mix", "Use mix blending mode while painting."},
|
||||
{IMB_BLEND_ADD, "ADD", 0, "Add", "Use add blending mode while painting."},
|
||||
{IMB_BLEND_SUB, "SUB", 0, "Subtract", "Use subtract blending mode while painting."},
|
||||
{IMB_BLEND_MUL, "MUL", 0, "Multiply", "Use multiply blending mode while painting."},
|
||||
{IMB_BLEND_LIGHTEN, "LIGHTEN", 0, "Lighten", "Use lighten blending mode while painting."},
|
||||
{IMB_BLEND_DARKEN, "DARKEN", 0, "Darken", "Use darken blending mode while painting."},
|
||||
{IMB_BLEND_ERASE_ALPHA, "ERASE_ALPHA", 0, "Erase Alpha", "Erase alpha while painting."},
|
||||
{IMB_BLEND_ADD_ALPHA, "ADD_ALPHA", 0, "Add Alpha", "Add alpha while painting."},
|
||||
{IMB_BLEND_MIX, "MIX", 0, "Mix", "Use mix blending mode while painting"},
|
||||
{IMB_BLEND_ADD, "ADD", 0, "Add", "Use add blending mode while painting"},
|
||||
{IMB_BLEND_SUB, "SUB", 0, "Subtract", "Use subtract blending mode while painting"},
|
||||
{IMB_BLEND_MUL, "MUL", 0, "Multiply", "Use multiply blending mode while painting"},
|
||||
{IMB_BLEND_LIGHTEN, "LIGHTEN", 0, "Lighten", "Use lighten blending mode while painting"},
|
||||
{IMB_BLEND_DARKEN, "DARKEN", 0, "Darken", "Use darken blending mode while painting"},
|
||||
{IMB_BLEND_ERASE_ALPHA, "ERASE_ALPHA", 0, "Erase Alpha", "Erase alpha while painting"},
|
||||
{IMB_BLEND_ADD_ALPHA, "ADD_ALPHA", 0, "Add Alpha", "Add alpha while painting"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem brush_sculpt_tool_items[] = {
|
||||
@@ -110,13 +110,13 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem brush_vertexpaint_tool_items[] = {
|
||||
{0, "MIX", 0, "Mix", "Use mix blending mode while painting."},
|
||||
{1, "ADD", 0, "Add", "Use add blending mode while painting."},
|
||||
{2, "SUB", 0, "Subtract", "Use subtract blending mode while painting."},
|
||||
{3, "MUL", 0, "Multiply", "Use multiply blending mode while painting."},
|
||||
{0, "MIX", 0, "Mix", "Use mix blending mode while painting"},
|
||||
{1, "ADD", 0, "Add", "Use add blending mode while painting"},
|
||||
{2, "SUB", 0, "Subtract", "Use subtract blending mode while painting"},
|
||||
{3, "MUL", 0, "Multiply", "Use multiply blending mode while painting"},
|
||||
{4, "BLUR", 0, "Blur", "Blur the color with surrounding values"},
|
||||
{5, "LIGHTEN", 0, "Lighten", "Use lighten blending mode while painting."},
|
||||
{6, "DARKEN", 0, "Darken", "Use darken blending mode while painting."},
|
||||
{5, "LIGHTEN", 0, "Lighten", "Use lighten blending mode while painting"},
|
||||
{6, "DARKEN", 0, "Darken", "Use darken blending mode while painting"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem brush_imagepaint_tool_items[] = {
|
||||
|
||||
@@ -1751,8 +1751,8 @@ static void rna_def_constraint_spline_ik(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem splineik_xz_scale_mode[] = {
|
||||
{CONSTRAINT_SPLINEIK_XZS_NONE, "NONE", 0, "None", "Don't scale the X and Z axes (Default)"},
|
||||
{CONSTRAINT_SPLINEIK_XZS_ORIGINAL, "BONE_ORIGINAL", 0, "Bone Original", "Use the original scaling of the bones."},
|
||||
{CONSTRAINT_SPLINEIK_XZS_VOLUMETRIC, "VOLUME_PRESERVE", 0, "Volume Preservation", "Scale of the X and Z axes is the inverse of the Y-Scale."},
|
||||
{CONSTRAINT_SPLINEIK_XZS_ORIGINAL, "BONE_ORIGINAL", 0, "Bone Original", "Use the original scaling of the bones"},
|
||||
{CONSTRAINT_SPLINEIK_XZS_VOLUMETRIC, "VOLUME_PRESERVE", 0, "Volume Preservation", "Scale of the X and Z axes is the inverse of the Y-Scale"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "SplineIKConstraint", "Constraint");
|
||||
|
||||
@@ -738,7 +738,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
|
||||
static const EnumPropertyItem curve_axis_items[]= {
|
||||
{0, "2D", 0, "2D", "Clamp the Z axis of of the curve"},
|
||||
{CU_3D, "3D", 0, "3D", "Allow editing on the Z axis of this curve, also alows tilt and curve radius to be used."},
|
||||
{CU_3D, "3D", 0, "3D", "Allow editing on the Z axis of this curve, also alows tilt and curve radius to be used"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Curve", "ID");
|
||||
|
||||
@@ -572,8 +572,8 @@ static void rna_def_fmodifier_cycles(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_type_items[] = {
|
||||
{FCM_EXTRAPOLATE_NONE, "NONE", 0, "No Cycles", "Don't do anything."},
|
||||
{FCM_EXTRAPOLATE_CYCLIC, "REPEAT", 0, "Repeat Motion", "Repeat keyframe range as-is."},
|
||||
{FCM_EXTRAPOLATE_NONE, "NONE", 0, "No Cycles", "Don't do anything"},
|
||||
{FCM_EXTRAPOLATE_CYCLIC, "REPEAT", 0, "Repeat Motion", "Repeat keyframe range as-is"},
|
||||
{FCM_EXTRAPOLATE_CYCLIC_OFFSET, "REPEAT_OFFSET", 0, "Repeat with Offset", "Repeat keyframe range, but with offset based on gradient between values"},
|
||||
{FCM_EXTRAPOLATE_MIRROR, "MIRROR", 0, "Repeat Mirrored", "Alternate between forward and reverse playback of keyframe range"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
@@ -166,7 +166,7 @@ static void rna_def_fluidsim_slip(StructRNA *srna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem slip_items[] = {
|
||||
{OB_FSBND_NOSLIP, "NOSLIP", 0, "No Slip", "Obstacle causes zero normal and tangential velocity (=sticky). Default for all. Only option for moving objects."},
|
||||
{OB_FSBND_NOSLIP, "NOSLIP", 0, "No Slip", "Obstacle causes zero normal and tangential velocity (=sticky). Default for all. Only option for moving objects"},
|
||||
{OB_FSBND_PARTSLIP, "PARTIALSLIP", 0, "Partial Slip", "Mix between no-slip and free-slip. Non moving objects only!"},
|
||||
{OB_FSBND_FREESLIP, "FREESLIP", 0, "Free Slip", "Obstacle only causes zero normal velocity (=not sticky). Non moving objects only!"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
@@ -188,16 +188,16 @@ static void rna_def_fluidsim_domain(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem quality_items[] = {
|
||||
{OB_FSDOM_GEOM, "GEOMETRY", 0, "Geometry", "Display geometry."},
|
||||
{OB_FSDOM_PREVIEW, "PREVIEW", 0, "Preview", "Display preview quality results."},
|
||||
{OB_FSDOM_FINAL, "FINAL", 0, "Final", "Display final quality results."},
|
||||
{OB_FSDOM_GEOM, "GEOMETRY", 0, "Geometry", "Display geometry"},
|
||||
{OB_FSDOM_PREVIEW, "PREVIEW", 0, "Preview", "Display preview quality results"},
|
||||
{OB_FSDOM_FINAL, "FINAL", 0, "Final", "Display final quality results"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem viscosity_items[] = {
|
||||
{1, "MANUAL", 0, "Manual", "Manual viscosity settings."},
|
||||
{2, "WATER", 0, "Water", "Viscosity of 1.0 * 10^-6."},
|
||||
{3, "OIL", 0, "Oil", "Viscosity of 5.0 * 10^-5."},
|
||||
{4, "HONEY", 0, "Honey", "Viscosity of 2.0 * 10^-3."},
|
||||
{1, "MANUAL", 0, "Manual", "Manual viscosity settings"},
|
||||
{2, "WATER", 0, "Water", "Viscosity of 1.0 * 10^-6"},
|
||||
{3, "OIL", 0, "Oil", "Viscosity of 5.0 * 10^-5"},
|
||||
{4, "HONEY", 0, "Honey", "Viscosity of 2.0 * 10^-3"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "DomainFluidSettings", "FluidSettings");
|
||||
@@ -326,9 +326,9 @@ static void rna_def_fluidsim_volume(StructRNA *srna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem volume_type_items[] = {
|
||||
{1, "VOLUME", 0, "Volume", "Use only the inner volume of the mesh."},
|
||||
{2, "SHELL", 0, "Shell", "Use only the outer shell of the mesh."},
|
||||
{3, "BOTH", 0, "Both", "Use both the inner volume and the outer shell of the mesh."},
|
||||
{1, "VOLUME", 0, "Volume", "Use only the inner volume of the mesh"},
|
||||
{2, "SHELL", 0, "Shell", "Use only the outer shell of the mesh"},
|
||||
{3, "BOTH", 0, "Both", "Use both the inner volume and the outer shell of the mesh"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
prop= RNA_def_property(srna, "volume_initialization", PROP_ENUM, PROP_NONE);
|
||||
@@ -504,13 +504,13 @@ void RNA_def_fluidsim(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem prop_fluid_type_items[] = {
|
||||
{OB_FLUIDSIM_ENABLE, "NONE", 0, "None", ""},
|
||||
{OB_FLUIDSIM_DOMAIN, "DOMAIN", 0, "Domain", "Bounding box of this object represents the computational domain of the fluid simulation."},
|
||||
{OB_FLUIDSIM_FLUID, "FLUID", 0, "Fluid", "Object represents a volume of fluid in the simulation."},
|
||||
{OB_FLUIDSIM_OBSTACLE, "OBSTACLE", 0, "Obstacle", "Object is a fixed obstacle."},
|
||||
{OB_FLUIDSIM_INFLOW, "INFLOW", 0, "Inflow", "Object adds fluid to the simulation."},
|
||||
{OB_FLUIDSIM_OUTFLOW, "OUTFLOW", 0, "Outflow", "Object removes fluid from the simulation."},
|
||||
{OB_FLUIDSIM_PARTICLE, "PARTICLE", 0, "Particle", "Object is made a particle system to display particles generated by a fluidsim domain object."},
|
||||
{OB_FLUIDSIM_CONTROL, "CONTROL", 0, "Control", "Object is made a fluid control mesh, which influences the fluid."},
|
||||
{OB_FLUIDSIM_DOMAIN, "DOMAIN", 0, "Domain", "Bounding box of this object represents the computational domain of the fluid simulation"},
|
||||
{OB_FLUIDSIM_FLUID, "FLUID", 0, "Fluid", "Object represents a volume of fluid in the simulation"},
|
||||
{OB_FLUIDSIM_OBSTACLE, "OBSTACLE", 0, "Obstacle", "Object is a fixed obstacle"},
|
||||
{OB_FLUIDSIM_INFLOW, "INFLOW", 0, "Inflow", "Object adds fluid to the simulation"},
|
||||
{OB_FLUIDSIM_OUTFLOW, "OUTFLOW", 0, "Outflow", "Object removes fluid from the simulation"},
|
||||
{OB_FLUIDSIM_PARTICLE, "PARTICLE", 0, "Particle", "Object is made a particle system to display particles generated by a fluidsim domain object"},
|
||||
{OB_FLUIDSIM_CONTROL, "CONTROL", 0, "Control", "Object is made a fluid control mesh, which influences the fluid"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
|
||||
|
||||
@@ -148,9 +148,9 @@ static void rna_def_lamp_mtex(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_texture_coordinates_items[] = {
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates."},
|
||||
{TEXCO_VIEW, "VIEW", 0, "View", "Uses view coordinates for the texture coordinates."},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates."},
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates"},
|
||||
{TEXCO_VIEW, "VIEW", 0, "View", "Uses view coordinates for the texture coordinates"},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "LampTextureSlot", "TextureSlot");
|
||||
@@ -324,11 +324,11 @@ static void rna_def_lamp(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_type_items[] = {
|
||||
{LA_LOCAL, "POINT", 0, "Point", "Omnidirectional point light source."},
|
||||
{LA_SUN, "SUN", 0, "Sun", "Constant direction parallel ray light source."},
|
||||
{LA_SPOT, "SPOT", 0, "Spot", "Directional cone light source."},
|
||||
{LA_HEMI, "HEMI", 0, "Hemi", "180 degree constant light source."},
|
||||
{LA_AREA, "AREA", 0, "Area", "Directional area light source."},
|
||||
{LA_LOCAL, "POINT", 0, "Point", "Omnidirectional point light source"},
|
||||
{LA_SUN, "SUN", 0, "Sun", "Constant direction parallel ray light source"},
|
||||
{LA_SPOT, "SPOT", 0, "Spot", "Directional cone light source"},
|
||||
{LA_HEMI, "HEMI", 0, "Hemi", "180 degree constant light source"},
|
||||
{LA_AREA, "AREA", 0, "Area", "Directional area light source"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Lamp", "ID");
|
||||
@@ -432,13 +432,13 @@ static void rna_def_lamp_shadow(StructRNA *srna, int spot, int area)
|
||||
|
||||
static EnumPropertyItem prop_shadow_items[] = {
|
||||
{0, "NOSHADOW", 0, "No Shadow", ""},
|
||||
{LA_SHAD_RAY, "RAY_SHADOW", 0, "Ray Shadow", "Use ray tracing for shadow."},
|
||||
{LA_SHAD_RAY, "RAY_SHADOW", 0, "Ray Shadow", "Use ray tracing for shadow"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_spot_shadow_items[] = {
|
||||
{0, "NOSHADOW", 0, "No Shadow", ""},
|
||||
{LA_SHAD_BUF, "BUFFER_SHADOW", 0, "Buffer Shadow", "Lets spotlight produce shadows using shadow buffer."},
|
||||
{LA_SHAD_RAY, "RAY_SHADOW", 0, "Ray Shadow", "Use ray tracing for shadow."},
|
||||
{LA_SHAD_BUF, "BUFFER_SHADOW", 0, "Buffer Shadow", "Lets spotlight produce shadows using shadow buffer"},
|
||||
{LA_SHAD_RAY, "RAY_SHADOW", 0, "Ray Shadow", "Use ray tracing for shadow"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_ray_sampling_method_items[] = {
|
||||
@@ -583,22 +583,22 @@ static void rna_def_spot_lamp(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_shadbuftype_items[] = {
|
||||
{LA_SHADBUF_REGULAR , "REGULAR", 0, "Classical", "Classic shadow buffer."},
|
||||
{LA_SHADBUF_HALFWAY, "HALFWAY", 0, "Classic-Halfway", "Regular buffer, averaging the closest and 2nd closest Z value to reducing bias artifaces."},
|
||||
{LA_SHADBUF_IRREGULAR, "IRREGULAR", 0, "Irregular", "Irregular buffer produces sharp shadow always, but it doesn't show up for raytracing."},
|
||||
{LA_SHADBUF_DEEP, "DEEP", 0, "Deep", "Deep shadow buffer supports transparency and better filtering, at the cost of more memory usage and processing time."},
|
||||
{LA_SHADBUF_REGULAR , "REGULAR", 0, "Classical", "Classic shadow buffer"},
|
||||
{LA_SHADBUF_HALFWAY, "HALFWAY", 0, "Classic-Halfway", "Regular buffer, averaging the closest and 2nd closest Z value to reducing bias artifaces"},
|
||||
{LA_SHADBUF_IRREGULAR, "IRREGULAR", 0, "Irregular", "Irregular buffer produces sharp shadow always, but it doesn't show up for raytracing"},
|
||||
{LA_SHADBUF_DEEP, "DEEP", 0, "Deep", "Deep shadow buffer supports transparency and better filtering, at the cost of more memory usage and processing time"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_shadbuffiltertype_items[] = {
|
||||
{LA_SHADBUF_BOX , "BOX", 0, "Box", "Apply the Box filter to shadow buffer samples."},
|
||||
{LA_SHADBUF_TENT, "TENT", 0, "Tent", "Apply the Tent Filter to shadow buffer samples."},
|
||||
{LA_SHADBUF_GAUSS, "GAUSS", 0, "Gauss", "Apply the Gauss filter to shadow buffer samples."},
|
||||
{LA_SHADBUF_BOX , "BOX", 0, "Box", "Apply the Box filter to shadow buffer samples"},
|
||||
{LA_SHADBUF_TENT, "TENT", 0, "Tent", "Apply the Tent Filter to shadow buffer samples"},
|
||||
{LA_SHADBUF_GAUSS, "GAUSS", 0, "Gauss", "Apply the Gauss filter to shadow buffer samples"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_numbuffer_items[] = {
|
||||
{1, "BUFFERS_1", 0, "1", "Only one buffer rendered."},
|
||||
{4, "BUFFERS_4", 0, "4", "Renders 4 buffers for better AA, this quadruples memory usage."},
|
||||
{9, "BUFFERS_9", 0, "9", "Renders 9 buffers for better AA, this uses nine times more memory."},
|
||||
{1, "BUFFERS_1", 0, "1", "Only one buffer rendered"},
|
||||
{4, "BUFFERS_4", 0, "4", "Renders 4 buffers for better AA, this quadruples memory usage"},
|
||||
{9, "BUFFERS_9", 0, "9", "Renders 9 buffers for better AA, this uses nine times more memory"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "SpotLamp", "Lamp");
|
||||
|
||||
@@ -37,17 +37,17 @@
|
||||
#include "WM_types.h"
|
||||
|
||||
static EnumPropertyItem prop_texture_coordinates_items[] = {
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates."},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates."},
|
||||
{TEXCO_UV, "UV", 0, "UV", "Uses UV coordinates for texture coordinates."},
|
||||
{TEXCO_ORCO, "ORCO", 0, "Generated", "Uses the original undeformed coordinates of the object."},
|
||||
{TEXCO_STRAND, "STRAND", 0, "Strand", "Uses normalized strand texture coordinate (1D)."},
|
||||
{TEXCO_STICKY, "STICKY", 0, "Sticky", "Uses mesh's sticky coordinates for the texture coordinates."},
|
||||
{TEXCO_WINDOW, "WINDOW", 0, "Window", "Uses screen coordinates as texture coordinates."},
|
||||
{TEXCO_NORM, "NORMAL", 0, "Normal", "Uses normal vector as texture coordinates."},
|
||||
{TEXCO_REFL, "REFLECTION", 0, "Reflection", "Uses reflection vector as texture coordinates."},
|
||||
{TEXCO_STRESS, "STRESS", 0, "Stress", "Uses the difference of edge lengths compared to original coordinates of the mesh."},
|
||||
{TEXCO_TANGENT, "TANGENT", 0, "Tangent", "Uses the optional tangent vector as texture coordinates."},
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates"},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates"},
|
||||
{TEXCO_UV, "UV", 0, "UV", "Uses UV coordinates for texture coordinates"},
|
||||
{TEXCO_ORCO, "ORCO", 0, "Generated", "Uses the original undeformed coordinates of the object"},
|
||||
{TEXCO_STRAND, "STRAND", 0, "Strand", "Uses normalized strand texture coordinate (1D)"},
|
||||
{TEXCO_STICKY, "STICKY", 0, "Sticky", "Uses mesh's sticky coordinates for the texture coordinates"},
|
||||
{TEXCO_WINDOW, "WINDOW", 0, "Window", "Uses screen coordinates as texture coordinates"},
|
||||
{TEXCO_NORM, "NORMAL", 0, "Normal", "Uses normal vector as texture coordinates"},
|
||||
{TEXCO_REFL, "REFLECTION", 0, "Reflection", "Uses reflection vector as texture coordinates"},
|
||||
{TEXCO_STRESS, "STRESS", 0, "Stress", "Uses the difference of edge lengths compared to original coordinates of the mesh"},
|
||||
{TEXCO_TANGENT, "TANGENT", 0, "Tangent", "Uses the optional tangent vector as texture coordinates"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
#ifdef RNA_RUNTIME
|
||||
@@ -283,10 +283,10 @@ static void rna_def_material_mtex(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_mapping_items[] = {
|
||||
{MTEX_FLAT, "FLAT", 0, "Flat", "Maps X and Y coordinates directly."},
|
||||
{MTEX_CUBE, "CUBE", 0, "Cube", "Maps using the normal vector."},
|
||||
{MTEX_TUBE, "TUBE", 0, "Tube", "Maps with Z as central axis."},
|
||||
{MTEX_SPHERE, "SPHERE", 0, "Sphere", "Maps with Z as central axis."},
|
||||
{MTEX_FLAT, "FLAT", 0, "Flat", "Maps X and Y coordinates directly"},
|
||||
{MTEX_CUBE, "CUBE", 0, "Cube", "Maps using the normal vector"},
|
||||
{MTEX_TUBE, "TUBE", 0, "Tube", "Maps with Z as central axis"},
|
||||
{MTEX_SPHERE, "SPHERE", 0, "Sphere", "Maps with Z as central axis"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_x_mapping_items[] = {
|
||||
@@ -1475,14 +1475,14 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_type_items[] = {
|
||||
{MA_TYPE_SURFACE, "SURFACE", 0, "Surface", "Render object as a surface."},
|
||||
{MA_TYPE_WIRE, "WIRE", 0, "Wire", "Render the edges of faces as wires (not supported in ray tracing)."},
|
||||
{MA_TYPE_VOLUME, "VOLUME", 0, "Volume", "Render object as a volume."},
|
||||
{MA_TYPE_HALO, "HALO", 0, "Halo", "Render object as halo particles."},
|
||||
{MA_TYPE_SURFACE, "SURFACE", 0, "Surface", "Render object as a surface"},
|
||||
{MA_TYPE_WIRE, "WIRE", 0, "Wire", "Render the edges of faces as wires (not supported in ray tracing)"},
|
||||
{MA_TYPE_VOLUME, "VOLUME", 0, "Volume", "Render object as a volume"},
|
||||
{MA_TYPE_HALO, "HALO", 0, "Halo", "Render object as halo particles"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
static EnumPropertyItem transparency_items[] = {
|
||||
{MA_ZTRANSP, "Z_TRANSPARENCY", 0, "Z Transparency", "Use alpha buffer for transparent faces."},
|
||||
{MA_RAYTRANSP, "RAYTRACE", 0, "Raytrace", "Use raytracing for transparent refraction rendering."},
|
||||
{MA_ZTRANSP, "Z_TRANSPARENCY", 0, "Z Transparency", "Use alpha buffer for transparent faces"},
|
||||
{MA_RAYTRANSP, "RAYTRACE", 0, "Raytrace", "Use raytracing for transparent refraction rendering"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "Material", "ID");
|
||||
|
||||
@@ -85,17 +85,17 @@ void RNA_api_material(StructRNA *srna)
|
||||
|
||||
/* copied from rna_def_material_mtex (rna_material.c) */
|
||||
static EnumPropertyItem prop_texture_coordinates_items[] = {
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates."},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates."},
|
||||
{TEXCO_UV, "UV", 0, "UV", "Uses UV coordinates for texture coordinates."},
|
||||
{TEXCO_ORCO, "ORCO", 0, "Generated", "Uses the original undeformed coordinates of the object."},
|
||||
{TEXCO_STRAND, "STRAND", 0, "Strand", "Uses normalized strand texture coordinate (1D)."},
|
||||
{TEXCO_STICKY, "STICKY", 0, "Sticky", "Uses mesh's sticky coordinates for the texture coordinates."},
|
||||
{TEXCO_WINDOW, "WINDOW", 0, "Window", "Uses screen coordinates as texture coordinates."},
|
||||
{TEXCO_NORM, "NORMAL", 0, "Normal", "Uses normal vector as texture coordinates."},
|
||||
{TEXCO_REFL, "REFLECTION", 0, "Reflection", "Uses reflection vector as texture coordinates."},
|
||||
{TEXCO_STRESS, "STRESS", 0, "Stress", "Uses the difference of edge lengths compared to original coordinates of the mesh."},
|
||||
{TEXCO_TANGENT, "TANGENT", 0, "Tangent", "Uses the optional tangent vector as texture coordinates."},
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates"},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates"},
|
||||
{TEXCO_UV, "UV", 0, "UV", "Uses UV coordinates for texture coordinates"},
|
||||
{TEXCO_ORCO, "ORCO", 0, "Generated", "Uses the original undeformed coordinates of the object"},
|
||||
{TEXCO_STRAND, "STRAND", 0, "Strand", "Uses normalized strand texture coordinate (1D)"},
|
||||
{TEXCO_STICKY, "STICKY", 0, "Sticky", "Uses mesh's sticky coordinates for the texture coordinates"},
|
||||
{TEXCO_WINDOW, "WINDOW", 0, "Window", "Uses screen coordinates as texture coordinates"},
|
||||
{TEXCO_NORM, "NORMAL", 0, "Normal", "Uses normal vector as texture coordinates"},
|
||||
{TEXCO_REFL, "REFLECTION", 0, "Reflection", "Uses reflection vector as texture coordinates"},
|
||||
{TEXCO_STRESS, "STRESS", 0, "Stress", "Uses the difference of edge lengths compared to original coordinates of the mesh"},
|
||||
{TEXCO_TANGENT, "TANGENT", 0, "Tangent", "Uses the optional tangent vector as texture coordinates"},
|
||||
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
|
||||
@@ -147,10 +147,10 @@ static void rna_def_metaball(BlenderRNA *brna)
|
||||
StructRNA *srna;
|
||||
PropertyRNA *prop;
|
||||
static EnumPropertyItem prop_update_items[] = {
|
||||
{MB_UPDATE_ALWAYS, "UPDATE_ALWAYS", 0, "Always", "While editing, update metaball always."},
|
||||
{MB_UPDATE_HALFRES, "HALFRES", 0, "Half", "While editing, update metaball in half resolution."},
|
||||
{MB_UPDATE_FAST, "FAST", 0, "Fast", "While editing, update metaball without polygonization."},
|
||||
{MB_UPDATE_NEVER, "NEVER", 0, "Never", "While editing, don't update metaball at all."},
|
||||
{MB_UPDATE_ALWAYS, "UPDATE_ALWAYS", 0, "Always", "While editing, update metaball always"},
|
||||
{MB_UPDATE_HALFRES, "HALFRES", 0, "Half", "While editing, update metaball in half resolution"},
|
||||
{MB_UPDATE_FAST, "FAST", 0, "Fast", "While editing, update metaball without polygonization"},
|
||||
{MB_UPDATE_NEVER, "NEVER", 0, "Never", "While editing, don't update metaball at all"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "MetaBall", "ID");
|
||||
|
||||
@@ -1469,8 +1469,8 @@ static void rna_def_modifier_meshdeform(BlenderRNA *brna)
|
||||
StructRNA *srna;
|
||||
PropertyRNA *prop;
|
||||
static EnumPropertyItem prop_mode_items[] = {
|
||||
{0, "VOLUME", 0, "Volume", "Bind to volume inside cage mesh."},
|
||||
{1, "SURFACE", 0, "Surface", "Bind to surface of cage mesh."},
|
||||
{0, "VOLUME", 0, "Volume", "Bind to volume inside cage mesh"},
|
||||
{1, "SURFACE", 0, "Surface", "Bind to surface of cage mesh"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "MeshDeformModifier", "Modifier");
|
||||
@@ -1739,9 +1739,9 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_limit_method_items[] = {
|
||||
{0, "NONE", 0, "None", "Bevel the entire mesh by a constant amount."},
|
||||
{BME_BEVEL_ANGLE, "ANGLE", 0, "Angle", "Only bevel edges with sharp enough angles between faces."},
|
||||
{BME_BEVEL_WEIGHT, "WEIGHT", 0, "Weight", "Use bevel weights to determine how much bevel is applied; apply them separately in vert/edge select mode."},
|
||||
{0, "NONE", 0, "None", "Bevel the entire mesh by a constant amount"},
|
||||
{BME_BEVEL_ANGLE, "ANGLE", 0, "Angle", "Only bevel edges with sharp enough angles between faces"},
|
||||
{BME_BEVEL_WEIGHT, "WEIGHT", 0, "Weight", "Use bevel weights to determine how much bevel is applied; apply them separately in vert/edge select mode"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_edge_weight_method_items[] = {
|
||||
|
||||
@@ -268,15 +268,15 @@ static void rna_NlaStrip_animated_time_set(PointerRNA *ptr, int value)
|
||||
|
||||
/* enum defines exported for rna_animation.c */
|
||||
EnumPropertyItem nla_mode_blend_items[] = {
|
||||
{NLASTRIP_MODE_REPLACE, "REPLACE", 0, "Replace", "Result strip replaces the accumulated results by amount specified by influence."},
|
||||
{NLASTRIP_MODE_ADD, "ADD", 0, "Add", "Weighted result of strip is added to the accumlated results."},
|
||||
{NLASTRIP_MODE_SUBTRACT, "SUBTRACT", 0, "Subtract", "Weighted result of strip is removed from the accumlated results."},
|
||||
{NLASTRIP_MODE_MULTIPLY, "MULITPLY", 0, "Multiply", "Weighted result of strip is multiplied with the accumlated results."},
|
||||
{NLASTRIP_MODE_REPLACE, "REPLACE", 0, "Replace", "Result strip replaces the accumulated results by amount specified by influence"},
|
||||
{NLASTRIP_MODE_ADD, "ADD", 0, "Add", "Weighted result of strip is added to the accumlated results"},
|
||||
{NLASTRIP_MODE_SUBTRACT, "SUBTRACT", 0, "Subtract", "Weighted result of strip is removed from the accumlated results"},
|
||||
{NLASTRIP_MODE_MULTIPLY, "MULITPLY", 0, "Multiply", "Weighted result of strip is multiplied with the accumlated results"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
EnumPropertyItem nla_mode_extend_items[] = {
|
||||
{NLASTRIP_EXTEND_NOTHING, "NOTHING", 0, "Nothing", "Strip has no influence past its extents."},
|
||||
{NLASTRIP_EXTEND_HOLD, "HOLD", 0, "Hold", "Hold the first frame if no previous strips in track, and always hold last frame."},
|
||||
{NLASTRIP_EXTEND_HOLD_FORWARD, "HOLD_FORWARD", 0, "Hold Forward", "Only hold last frame."},
|
||||
{NLASTRIP_EXTEND_NOTHING, "NOTHING", 0, "Nothing", "Strip has no influence past its extents"},
|
||||
{NLASTRIP_EXTEND_HOLD, "HOLD", 0, "Hold", "Hold the first frame if no previous strips in track, and always hold last frame"},
|
||||
{NLASTRIP_EXTEND_HOLD_FORWARD, "HOLD_FORWARD", 0, "Hold Forward", "Only hold last frame"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static void rna_def_nlastrip(BlenderRNA *brna)
|
||||
@@ -286,9 +286,9 @@ static void rna_def_nlastrip(BlenderRNA *brna)
|
||||
|
||||
/* enum defs */
|
||||
static EnumPropertyItem prop_type_items[] = {
|
||||
{NLASTRIP_TYPE_CLIP, "CLIP", 0, "Action Clip", "NLA Strip references some Action."},
|
||||
{NLASTRIP_TYPE_TRANSITION, "TRANSITION", 0, "Transition", "NLA Strip 'transitions' between adjacent strips."},
|
||||
{NLASTRIP_TYPE_META, "META", 0, "Meta", "NLA Strip acts as a container for adjacent strips."},
|
||||
{NLASTRIP_TYPE_CLIP, "CLIP", 0, "Action Clip", "NLA Strip references some Action"},
|
||||
{NLASTRIP_TYPE_TRANSITION, "TRANSITION", 0, "Transition", "NLA Strip 'transitions' between adjacent strips"},
|
||||
{NLASTRIP_TYPE_META, "META", 0, "Meta", "NLA Strip acts as a container for adjacent strips"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
/* struct definition */
|
||||
|
||||
@@ -1431,7 +1431,7 @@ static void rna_def_object(BlenderRNA *brna)
|
||||
|
||||
// XXX: this RNA enum define is currently duplicated for objects, since there is some text here which is not applicable
|
||||
static EnumPropertyItem prop_rotmode_items[] = {
|
||||
{ROT_MODE_QUAT, "QUATERNION", 0, "Quaternion (WXYZ)", "No Gimbal Lock."},
|
||||
{ROT_MODE_QUAT, "QUATERNION", 0, "Quaternion (WXYZ)", "No Gimbal Lock"},
|
||||
{ROT_MODE_XYZ, "XYZ", 0, "XYZ Euler", "XYZ Rotation Order. Prone to Gimbal Lock. (Default)"},
|
||||
{ROT_MODE_XZY, "XZY", 0, "XZY Euler", "XZY Rotation Order. Prone to Gimbal Lock"},
|
||||
{ROT_MODE_YXZ, "YXZ", 0, "YXZ Euler", "YXZ Rotation Order. Prone to Gimbal Lock"},
|
||||
|
||||
@@ -417,15 +417,15 @@ void RNA_api_object(StructRNA *srna)
|
||||
PropertyRNA *parm;
|
||||
|
||||
static EnumPropertyItem mesh_type_items[] = {
|
||||
{0, "PREVIEW", 0, "Preview", "Apply modifier preview settings."},
|
||||
{1, "RENDER", 0, "Render", "Apply modifier render settings."},
|
||||
{0, "PREVIEW", 0, "Preview", "Apply modifier preview settings"},
|
||||
{1, "RENDER", 0, "Render", "Apply modifier render settings"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
static EnumPropertyItem assign_mode_items[] = {
|
||||
{WEIGHT_REPLACE, "REPLACE", 0, "Replace", "Replace."}, /* TODO: more meaningful descriptions */
|
||||
{WEIGHT_ADD, "ADD", 0, "Add", "Add."},
|
||||
{WEIGHT_SUBTRACT, "SUBTRACT", 0, "Subtract", "Subtract."},
|
||||
{WEIGHT_REPLACE, "REPLACE", 0, "Replace", "Replace"}, /* TODO: more meaningful descriptions */
|
||||
{WEIGHT_ADD, "ADD", 0, "Add", "Add"},
|
||||
{WEIGHT_SUBTRACT, "SUBTRACT", 0, "Subtract", "Subtract"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -594,8 +594,8 @@ static void rna_def_bone_group(BlenderRNA *brna)
|
||||
}
|
||||
|
||||
static EnumPropertyItem prop_iksolver_items[] = {
|
||||
{IKSOLVER_LEGACY, "LEGACY", 0, "Legacy", "Original IK solver."},
|
||||
{IKSOLVER_ITASC, "ITASC", 0, "iTaSC", "Multi constraint, stateful IK solver."},
|
||||
{IKSOLVER_LEGACY, "LEGACY", 0, "Legacy", "Original IK solver"},
|
||||
{IKSOLVER_ITASC, "ITASC", 0, "iTaSC", "Multi constraint, stateful IK solver"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem prop_solver_items[] = {
|
||||
@@ -658,7 +658,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
||||
{ROT_MODE_YZX, "YZX", 0, "YZX Euler", "YZX Rotation Order. Prone to Gimbal Lock"},
|
||||
{ROT_MODE_ZXY, "ZXY", 0, "ZXY Euler", "ZXY Rotation Order. Prone to Gimbal Lock"},
|
||||
{ROT_MODE_ZYX, "ZYX", 0, "ZYX Euler", "ZYX Rotation Order. Prone to Gimbal Lock"},
|
||||
{ROT_MODE_AXISANGLE, "AXIS_ANGLE", 0, "Axis Angle", "Axis Angle (W+XYZ). Defines a rotation around some axis defined by 3D-Vector."},
|
||||
{ROT_MODE_AXISANGLE, "AXIS_ANGLE", 0, "Axis Angle", "Axis Angle (W+XYZ). Defines a rotation around some axis defined by 3D-Vector"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static float default_quat[4] = {1,0,0,0}; /* default quaternion values */
|
||||
@@ -1021,13 +1021,13 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
||||
static void rna_def_pose_itasc(BlenderRNA *brna)
|
||||
{
|
||||
static const EnumPropertyItem prop_itasc_mode_items[]= {
|
||||
{0, "ANIMATION", 0, "Animation", "Stateless solver computing pose starting from current action and non-IK constraints."},
|
||||
{ITASC_SIMULATION, "SIMULATION", 0, "Simulation", "Statefull solver running in real-time context and ignoring actions and non-IK constraints."},
|
||||
{0, "ANIMATION", 0, "Animation", "Stateless solver computing pose starting from current action and non-IK constraints"},
|
||||
{ITASC_SIMULATION, "SIMULATION", 0, "Simulation", "Statefull solver running in real-time context and ignoring actions and non-IK constraints"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
static const EnumPropertyItem prop_itasc_reiteration_items[]= {
|
||||
{0, "NEVER", 0, "Never", "The solver does not reiterate, not even on first frame (starts from rest pose)."},
|
||||
{ITASC_INITIAL_REITERATION, "INITIAL", 0, "Initial", "The solver reiterates (converges) on the first frame but not on subsequent frame."},
|
||||
{ITASC_INITIAL_REITERATION|ITASC_REITERATION, "ALWAYS", 0, "Always", "The solver reiterates (converges) on all frames."},
|
||||
{0, "NEVER", 0, "Never", "The solver does not reiterate, not even on first frame (starts from rest pose)"},
|
||||
{ITASC_INITIAL_REITERATION, "INITIAL", 0, "Initial", "The solver reiterates (converges) on the first frame but not on subsequent frame"},
|
||||
{ITASC_INITIAL_REITERATION|ITASC_REITERATION, "ALWAYS", 0, "Always", "The solver reiterates (converges) on all frames"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
StructRNA *srna;
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
#include "BLI_threads.h"
|
||||
|
||||
EnumPropertyItem snap_target_items[] = {
|
||||
{SCE_SNAP_TARGET_CLOSEST, "CLOSEST", 0, "Closest", "Snap closest point onto target."},
|
||||
{SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap center onto target."},
|
||||
{SCE_SNAP_TARGET_MEDIAN, "MEDIAN", 0, "Median", "Snap median onto target."},
|
||||
{SCE_SNAP_TARGET_ACTIVE, "ACTIVE", 0, "Active", "Snap active onto target."},
|
||||
{SCE_SNAP_TARGET_CLOSEST, "CLOSEST", 0, "Closest", "Snap closest point onto target"},
|
||||
{SCE_SNAP_TARGET_CENTER, "CENTER", 0, "Center", "Snap center onto target"},
|
||||
{SCE_SNAP_TARGET_MEDIAN, "MEDIAN", 0, "Median", "Snap median onto target"},
|
||||
{SCE_SNAP_TARGET_ACTIVE, "ACTIVE", 0, "Active", "Snap active onto target"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
EnumPropertyItem proportional_falloff_items[] ={
|
||||
@@ -77,17 +77,17 @@ EnumPropertyItem proportional_editing_items[] = {
|
||||
|
||||
/* keep for operators, not used here */
|
||||
EnumPropertyItem mesh_select_mode_items[] = {
|
||||
{SCE_SELECT_VERTEX, "VERTEX", ICON_VERTEXSEL, "Vertex", "Vertex selection mode."},
|
||||
{SCE_SELECT_EDGE, "EDGE", ICON_EDGESEL, "Edge", "Edge selection mode."},
|
||||
{SCE_SELECT_FACE, "FACE", ICON_FACESEL, "Face", "Face selection mode."},
|
||||
{SCE_SELECT_VERTEX, "VERTEX", ICON_VERTEXSEL, "Vertex", "Vertex selection mode"},
|
||||
{SCE_SELECT_EDGE, "EDGE", ICON_EDGESEL, "Edge", "Edge selection mode"},
|
||||
{SCE_SELECT_FACE, "FACE", ICON_FACESEL, "Face", "Face selection mode"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
EnumPropertyItem snap_element_items[] = {
|
||||
{SCE_SNAP_MODE_INCREMENT, "INCREMENT", ICON_SNAP_INCREMENT, "Increment", "Snap to increments of grid."},
|
||||
{SCE_SNAP_MODE_VERTEX, "VERTEX", ICON_SNAP_VERTEX, "Vertex", "Snap to vertices."},
|
||||
{SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges."},
|
||||
{SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces."},
|
||||
{SCE_SNAP_MODE_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume."},
|
||||
{SCE_SNAP_MODE_INCREMENT, "INCREMENT", ICON_SNAP_INCREMENT, "Increment", "Snap to increments of grid"},
|
||||
{SCE_SNAP_MODE_VERTEX, "VERTEX", ICON_SNAP_VERTEX, "Vertex", "Snap to vertices"},
|
||||
{SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"},
|
||||
{SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces"},
|
||||
{SCE_SNAP_MODE_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
#ifdef RNA_RUNTIME
|
||||
@@ -722,10 +722,10 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem uv_select_mode_items[] = {
|
||||
{UV_SELECT_VERTEX, "VERTEX", ICON_UV_VERTEXSEL, "Vertex", "Vertex selection mode."},
|
||||
{UV_SELECT_EDGE, "EDGE", ICON_UV_EDGESEL, "Edge", "Edge selection mode."},
|
||||
{UV_SELECT_FACE, "FACE", ICON_UV_FACESEL, "Face", "Face selection mode."},
|
||||
{UV_SELECT_ISLAND, "ISLAND", ICON_UV_ISLANDSEL, "Island", "Island selection mode."},
|
||||
{UV_SELECT_VERTEX, "VERTEX", ICON_UV_VERTEXSEL, "Vertex", "Vertex selection mode"},
|
||||
{UV_SELECT_EDGE, "EDGE", ICON_UV_EDGESEL, "Edge", "Edge selection mode"},
|
||||
{UV_SELECT_FACE, "FACE", ICON_UV_FACESEL, "Face", "Face selection mode"},
|
||||
{UV_SELECT_ISLAND, "ISLAND", ICON_UV_ISLANDSEL, "Island", "Island selection mode"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem auto_key_items[] = {
|
||||
@@ -734,16 +734,16 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem retarget_roll_items[] = {
|
||||
{SK_RETARGET_ROLL_NONE, "NONE", 0, "None", "Don't adjust roll."},
|
||||
{SK_RETARGET_ROLL_VIEW, "VIEW", 0, "View", "Roll bones to face the view."},
|
||||
{SK_RETARGET_ROLL_JOINT, "JOINT", 0, "Joint", "Roll bone to original joint plane offset."},
|
||||
{SK_RETARGET_ROLL_NONE, "NONE", 0, "None", "Don't adjust roll"},
|
||||
{SK_RETARGET_ROLL_VIEW, "VIEW", 0, "View", "Roll bones to face the view"},
|
||||
{SK_RETARGET_ROLL_JOINT, "JOINT", 0, "Joint", "Roll bone to original joint plane offset"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem sketch_convert_items[] = {
|
||||
{SK_CONVERT_CUT_FIXED, "FIXED", 0, "Fixed", "Subdivide stroke in fixed number of bones."},
|
||||
{SK_CONVERT_CUT_LENGTH, "LENGTH", 0, "Length", "Subdivide stroke in bones of specific length."},
|
||||
{SK_CONVERT_CUT_ADAPTATIVE, "ADAPTIVE", 0, "Adaptive", "Subdivide stroke adaptively, with more subdivision in curvier parts."},
|
||||
{SK_CONVERT_RETARGET, "RETARGET", 0, "Retarget", "Retarget template bone chain to stroke."},
|
||||
{SK_CONVERT_CUT_FIXED, "FIXED", 0, "Fixed", "Subdivide stroke in fixed number of bones"},
|
||||
{SK_CONVERT_CUT_LENGTH, "LENGTH", 0, "Length", "Subdivide stroke in bones of specific length"},
|
||||
{SK_CONVERT_CUT_ADAPTATIVE, "ADAPTIVE", 0, "Adaptive", "Subdivide stroke adaptively, with more subdivision in curvier parts"},
|
||||
{SK_CONVERT_RETARGET, "RETARGET", 0, "Retarget", "Retarget template bone chain to stroke"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem edge_tag_items[] = {
|
||||
@@ -1304,9 +1304,9 @@ static void rna_def_scene_game_data(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem material_items[] ={
|
||||
{GAME_MAT_TEXFACE, "TEXTURE_FACE", 0, "Texture Face", "Single texture face materials."},
|
||||
{GAME_MAT_MULTITEX, "MULTITEXTURE", 0, "Multitexture", "Multitexture materials."},
|
||||
{GAME_MAT_GLSL, "GLSL", 0, "GLSL", "OpenGL shading language shaders."},
|
||||
{GAME_MAT_TEXFACE, "TEXTURE_FACE", 0, "Texture Face", "Single texture face materials"},
|
||||
{GAME_MAT_MULTITEX, "MULTITEXTURE", 0, "Multitexture", "Multitexture materials"},
|
||||
{GAME_MAT_GLSL, "GLSL", 0, "GLSL", "OpenGL shading language shaders"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "SceneGameData", NULL);
|
||||
@@ -1631,7 +1631,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem raytrace_structure_items[] = {
|
||||
{R_RAYSTRUCTURE_AUTO, "AUTO", 0, "Auto", ""},
|
||||
{R_RAYSTRUCTURE_OCTREE, "OCTREE", 0, "Octree", "Use old Octree structure."},
|
||||
{R_RAYSTRUCTURE_OCTREE, "OCTREE", 0, "Octree", "Use old Octree structure"},
|
||||
{R_RAYSTRUCTURE_BLIBVH, "BLIBVH", 0, "BLI BVH", "Use BLI K-Dop BVH.c"},
|
||||
{R_RAYSTRUCTURE_VBVH, "VBVH", 0, "vBVH", ""},
|
||||
{R_RAYSTRUCTURE_SIMD_SVBVH, "SIMD_SVBVH", 0, "SIMD SVBVH", ""},
|
||||
@@ -2581,13 +2581,13 @@ void RNA_def_scene(BlenderRNA *brna)
|
||||
FunctionRNA *func;
|
||||
|
||||
static EnumPropertyItem audio_distance_model_items[] = {
|
||||
{0, "NONE", 0, "None", "No distance attenuation."},
|
||||
{1, "INVERSE", 0, "Inverse", "Inverse distance model."},
|
||||
{2, "INVERSE_CLAMPED", 0, "Inverse Clamped", "Inverse distance model with clamping."},
|
||||
{3, "LINEAR", 0, "Linear", "Linear distance model."},
|
||||
{4, "LINEAR_CLAMPED", 0, "Linear Clamped", "Linear distance model with clamping."},
|
||||
{5, "EXPONENT", 0, "Exponent", "Exponent distance model."},
|
||||
{6, "EXPONENT_CLAMPED", 0, "Exponent Clamped", "Exponent distance model with clamping."},
|
||||
{0, "NONE", 0, "None", "No distance attenuation"},
|
||||
{1, "INVERSE", 0, "Inverse", "Inverse distance model"},
|
||||
{2, "INVERSE_CLAMPED", 0, "Inverse Clamped", "Inverse distance model with clamping"},
|
||||
{3, "LINEAR", 0, "Linear", "Linear distance model"},
|
||||
{4, "LINEAR_CLAMPED", 0, "Linear Clamped", "Linear distance model with clamping"},
|
||||
{5, "EXPONENT", 0, "Exponent", "Exponent distance model"},
|
||||
{6, "EXPONENT_CLAMPED", 0, "Exponent Clamped", "Exponent distance model with clamping"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
/* Struct definition */
|
||||
|
||||
@@ -37,14 +37,14 @@
|
||||
#include "WM_types.h"
|
||||
|
||||
static EnumPropertyItem particle_edit_hair_brush_items[] = {
|
||||
{PE_BRUSH_NONE, "NONE", 0, "None", "Don't use any brush."},
|
||||
{PE_BRUSH_COMB, "COMB", 0, "Comb", "Comb hairs."},
|
||||
{PE_BRUSH_SMOOTH, "SMOOTH", 0, "Smooth", "Smooth hairs."},
|
||||
{PE_BRUSH_ADD, "ADD", 0, "Add", "Add hairs."},
|
||||
{PE_BRUSH_LENGTH, "LENGTH", 0, "Length", "Make hairs longer or shorter."},
|
||||
{PE_BRUSH_PUFF, "PUFF", 0, "Puff", "Make hairs stand up."},
|
||||
{PE_BRUSH_CUT, "CUT", 0, "Cut", "Cut hairs."},
|
||||
{PE_BRUSH_WEIGHT, "WEIGHT", 0, "Weight", "Weight hair particles."},
|
||||
{PE_BRUSH_NONE, "NONE", 0, "None", "Don't use any brush"},
|
||||
{PE_BRUSH_COMB, "COMB", 0, "Comb", "Comb hairs"},
|
||||
{PE_BRUSH_SMOOTH, "SMOOTH", 0, "Smooth", "Smooth hairs"},
|
||||
{PE_BRUSH_ADD, "ADD", 0, "Add", "Add hairs"},
|
||||
{PE_BRUSH_LENGTH, "LENGTH", 0, "Length", "Make hairs longer or shorter"},
|
||||
{PE_BRUSH_PUFF, "PUFF", 0, "Puff", "Make hairs stand up"},
|
||||
{PE_BRUSH_CUT, "CUT", 0, "Cut", "Cut hairs"},
|
||||
{PE_BRUSH_WEIGHT, "WEIGHT", 0, "Weight", "Weight hair particles"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
#ifdef RNA_RUNTIME
|
||||
@@ -57,10 +57,10 @@ static EnumPropertyItem particle_edit_hair_brush_items[] = {
|
||||
#include "ED_particle.h"
|
||||
|
||||
static EnumPropertyItem particle_edit_cache_brush_items[] = {
|
||||
{PE_BRUSH_NONE, "NONE", 0, "None", "Don't use any brush."},
|
||||
{PE_BRUSH_COMB, "COMB", 0, "Comb", "Comb paths."},
|
||||
{PE_BRUSH_SMOOTH, "SMOOTH", 0, "Smooth", "Smooth paths."},
|
||||
{PE_BRUSH_LENGTH, "LENGTH", 0, "Length", "Make paths longer or shorter."},
|
||||
{PE_BRUSH_NONE, "NONE", 0, "None", "Don't use any brush"},
|
||||
{PE_BRUSH_COMB, "COMB", 0, "Comb", "Comb paths"},
|
||||
{PE_BRUSH_SMOOTH, "SMOOTH", 0, "Smooth", "Smooth paths"},
|
||||
{PE_BRUSH_LENGTH, "LENGTH", 0, "Length", "Make paths longer or shorter"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static PointerRNA rna_ParticleEdit_brush_get(PointerRNA *ptr)
|
||||
@@ -365,13 +365,13 @@ static void rna_def_particle_edit(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem puff_mode[] = {
|
||||
{0, "ADD", 0, "Add", "Make hairs more puffy."},
|
||||
{1, "SUB", 0, "Sub", "Make hairs less puffy."},
|
||||
{0, "ADD", 0, "Add", "Make hairs more puffy"},
|
||||
{1, "SUB", 0, "Sub", "Make hairs less puffy"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem length_mode[] = {
|
||||
{0, "GROW", 0, "Grow", "Make hairs longer."},
|
||||
{1, "SHRINK", 0, "Shrink", "Make hairs shorter."},
|
||||
{0, "GROW", 0, "Grow", "Make hairs longer"},
|
||||
{1, "SHRINK", 0, "Shrink", "Make hairs shorter"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem edit_type_items[]= {
|
||||
|
||||
@@ -1103,9 +1103,9 @@ static void rna_def_transform(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static const EnumPropertyItem interpolation_items[]= {
|
||||
{0, "NONE", 0, "None", "No interpolation."},
|
||||
{1, "BILINEAR", 0, "Bilinear", "Bilinear interpolation."},
|
||||
{2, "BICUBIC", 0, "Bicubic", "Bicubic interpolation."},
|
||||
{0, "NONE", 0, "None", "No interpolation"},
|
||||
{1, "BILINEAR", 0, "Bilinear", "Bilinear interpolation"},
|
||||
{2, "BICUBIC", 0, "Bicubic", "Bicubic interpolation"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -118,8 +118,8 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem smoke_cache_comp_items[] = {
|
||||
{SM_CACHE_LIGHT, "CACHELIGHT", 0, "Light", "Fast but not so effective compression."},
|
||||
{SM_CACHE_HEAVY, "CACHEHEAVY", 0, "Heavy", "Effective but slow compression."},
|
||||
{SM_CACHE_LIGHT, "CACHELIGHT", 0, "Light", "Fast but not so effective compression"},
|
||||
{SM_CACHE_HEAVY, "CACHEHEAVY", 0, "Heavy", "Effective but slow compression"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna = RNA_def_struct(brna, "SmokeDomainSettings", NULL);
|
||||
|
||||
@@ -1923,7 +1923,7 @@ static void rna_def_space_node(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem tree_type_items[] = {
|
||||
{NTREE_SHADER, "MATERIAL", ICON_MATERIAL, "Material", "Material nodes"},
|
||||
{NTREE_TEXTURE, "TEXTURE", ICON_TEXTURE, "Texture", "Texture nodes."},
|
||||
{NTREE_TEXTURE, "TEXTURE", ICON_TEXTURE, "Texture", "Texture nodes"},
|
||||
{NTREE_COMPOSIT, "COMPOSITING", ICON_RENDERLAYERS, "Compositing", "Compositing nodes"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
|
||||
@@ -708,8 +708,8 @@ static void rna_def_environment_map(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem prop_type_items[] = {
|
||||
{ENV_CUBE, "CUBE", 0, "Cube", "Use environment map with six cube sides."},
|
||||
{ENV_PLANE, "PLANE", 0, "Plane", "Only one side is rendered, with Z axis pointing in direction of image."},
|
||||
{ENV_CUBE, "CUBE", 0, "Cube", "Use environment map with six cube sides"},
|
||||
{ENV_PLANE, "PLANE", 0, "Plane", "Only one side is rendered, with Z axis pointing in direction of image"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "EnvironmentMap", NULL);
|
||||
@@ -1422,10 +1422,10 @@ static void rna_def_texture_voronoi(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem prop_coloring_items[] = {
|
||||
/* XXX: OK names / descriptions? */
|
||||
{TEX_INTENSITY, "INTENSITY", 0, "Intensity", "Only calculate intensity."},
|
||||
{TEX_COL1, "POSITION", 0, "Position", "Color cells by position."},
|
||||
{TEX_INTENSITY, "INTENSITY", 0, "Intensity", "Only calculate intensity"},
|
||||
{TEX_COL1, "POSITION", 0, "Position", "Color cells by position"},
|
||||
{TEX_COL2, "POSITION_OUTLINE", 0, "Position and Outline", "Use position plus an outline based on F2-F.1"},
|
||||
{TEX_COL3, "POSITION_OUTLINE_INTENSITY", 0, "Position, Outline, and Intensity", "Multiply position and outline by intensity."},
|
||||
{TEX_COL3, "POSITION_OUTLINE_INTENSITY", 0, "Position, Outline, and Intensity", "Multiply position and outline by intensity"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "VoronoiTexture", "Texture");
|
||||
@@ -1705,7 +1705,7 @@ static void rna_def_texture_voxeldata(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem interpolation_type_items[] = {
|
||||
{TEX_VD_NEARESTNEIGHBOR, "NEREASTNEIGHBOR", 0, "Nearest Neighbor", "No interpolation, fast but blocky and low quality."},
|
||||
{TEX_VD_NEARESTNEIGHBOR, "NEREASTNEIGHBOR", 0, "Nearest Neighbor", "No interpolation, fast but blocky and low quality"},
|
||||
{TEX_VD_LINEAR, "TRILINEAR", 0, "Linear", "Good smoothness and speed"},
|
||||
{TEX_VD_QUADRATIC, "QUADRATIC", 0, "Quadratic", "Mid-range quality and speed"},
|
||||
{TEX_VD_TRICUBIC_CATROM, "TRICUBIC_CATROM", 0, "Cubic Catmull-Rom", "High quality interpolation, but slower"},
|
||||
@@ -1727,9 +1727,9 @@ static void rna_def_texture_voxeldata(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem smoked_type_items[] = {
|
||||
{TEX_VD_SMOKEDENSITY, "SMOKEDENSITY", 0, "Density", "Use smoke density as texture data."},
|
||||
{TEX_VD_SMOKEHEAT, "SMOKEHEAT", 0, "Heat", "Use smoke heat as texture data. Values from -2.0 to 2.0 are used."},
|
||||
{TEX_VD_SMOKEVEL, "SMOKEVEL", 0, "Velocity", "Use smoke velocity as texture data."},
|
||||
{TEX_VD_SMOKEDENSITY, "SMOKEDENSITY", 0, "Density", "Use smoke density as texture data"},
|
||||
{TEX_VD_SMOKEHEAT, "SMOKEHEAT", 0, "Heat", "Use smoke heat as texture data. Values from -2.0 to 2.0 are used"},
|
||||
{TEX_VD_SMOKEVEL, "SMOKEVEL", 0, "Velocity", "Use smoke velocity as texture data"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "VoxelData", NULL);
|
||||
|
||||
@@ -211,8 +211,8 @@ static void rna_def_userdef_theme_ui_font_style(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem font_kerning_style[] = {
|
||||
{0, "UNFITTED", 0, "Unfitted", "Use scaled but un-grid-fitted kerning distances."},
|
||||
{1, "DEFAULT", 0, "Default", "Use scaled and grid-fitted kerning distances."},
|
||||
{0, "UNFITTED", 0, "Unfitted", "Use scaled but un-grid-fitted kerning distances"},
|
||||
{1, "DEFAULT", 0, "Default", "Use scaled and grid-fitted kerning distances"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "ThemeFontStyle", NULL);
|
||||
@@ -1717,11 +1717,11 @@ static void rna_def_userdef_solidlight(BlenderRNA *brna)
|
||||
static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
{
|
||||
static EnumPropertyItem timecode_styles[] = {
|
||||
{USER_TIMECODE_MINIMAL, "MINIMAL", 0, "Minimal Info", "Most compact representation. Uses '+' as separator for sub-second frame numbers, with left and right truncation of the timecode as necessary."},
|
||||
{USER_TIMECODE_SMPTE_FULL, "SMPTE", 0, "SMPTE (Full)", "Full SMPTE timecode. Format is HH:MM:SS:FF."},
|
||||
{USER_TIMECODE_SMPTE_MSF, "SMPTE_COMPACT", 0, "SMPTE (Compact)", "SMPTE timecode showing minutes, seconds, and frames only. Hours are also shown if necessary, but not by default."},
|
||||
{USER_TIMECODE_MILLISECONDS, "MILLISECONDS", 0, "Compact with Milliseconds", "Similar to SMPTE (Compact), except that instead of frames, milliseconds are shown instead."},
|
||||
{USER_TIMECODE_SECONDS_ONLY, "SECONDS_ONLY", 0, "Only Seconds", "Direct conversion of frame numbers to seconds."},
|
||||
{USER_TIMECODE_MINIMAL, "MINIMAL", 0, "Minimal Info", "Most compact representation. Uses '+' as separator for sub-second frame numbers, with left and right truncation of the timecode as necessary"},
|
||||
{USER_TIMECODE_SMPTE_FULL, "SMPTE", 0, "SMPTE (Full)", "Full SMPTE timecode. Format is HH:MM:SS:FF"},
|
||||
{USER_TIMECODE_SMPTE_MSF, "SMPTE_COMPACT", 0, "SMPTE (Compact)", "SMPTE timecode showing minutes, seconds, and frames only. Hours are also shown if necessary, but not by default"},
|
||||
{USER_TIMECODE_MILLISECONDS, "MILLISECONDS", 0, "Compact with Milliseconds", "Similar to SMPTE (Compact), except that instead of frames, milliseconds are shown instead"},
|
||||
{USER_TIMECODE_SECONDS_ONLY, "SECONDS_ONLY", 0, "Only Seconds", "Direct conversion of frame numbers to seconds"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
PropertyRNA *prop;
|
||||
@@ -1929,8 +1929,8 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static const EnumPropertyItem material_link_items[]= {
|
||||
{0, "OBDATA", 0, "ObData", "Toggle whether the material is linked to object data or the object block."},
|
||||
{USER_MAT_ON_OB, "OBJECT", 0, "Object", "Toggle whether the material is linked to object data or the object block."},
|
||||
{0, "OBDATA", 0, "ObData", "Toggle whether the material is linked to object data or the object block"},
|
||||
{USER_MAT_ON_OB, "OBJECT", 0, "Object", "Toggle whether the material is linked to object data or the object block"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static const EnumPropertyItem object_align_items[]= {
|
||||
@@ -2124,54 +2124,54 @@ static void rna_def_userdef_system(BlenderRNA *brna)
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem audio_device_items[] = {
|
||||
{0, "NONE", 0, "None", "Null device - there will be no audio output."},
|
||||
{0, "NONE", 0, "None", "Null device - there will be no audio output"},
|
||||
#ifdef WITH_SDL
|
||||
{1, "SDL", 0, "SDL", "SDL device - simple direct media layer, recommended for sequencer usage."},
|
||||
{1, "SDL", 0, "SDL", "SDL device - simple direct media layer, recommended for sequencer usage"},
|
||||
#endif
|
||||
#ifdef WITH_OPENAL
|
||||
{2, "OPENAL", 0, "OpenAL", "OpenAL device - supports 3D audio, recommended for game engine usage."},
|
||||
{2, "OPENAL", 0, "OpenAL", "OpenAL device - supports 3D audio, recommended for game engine usage"},
|
||||
#endif
|
||||
#ifdef WITH_JACK
|
||||
{3, "JACK", 0, "Jack", "Jack device - open source pro audio, recommended for pro audio users."},
|
||||
{3, "JACK", 0, "Jack", "Jack device - open source pro audio, recommended for pro audio users"},
|
||||
#endif
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem audio_rate_items[] = {
|
||||
// {8000, "RATE_8000", 0, "8 kHz", "Set audio sampling rate to 8000 samples per second."},
|
||||
// {11025, "RATE_11025", 0, "11.025 kHz", "Set audio sampling rate to 11025 samples per second."},
|
||||
// {16000, "RATE_16000", 0, "16 kHz", "Set audio sampling rate to 16000 samples per second."},
|
||||
// {22050, "RATE_22050", 0, "22.05 kHz", "Set audio sampling rate to 22050 samples per second."},
|
||||
// {32000, "RATE_32000", 0, "32 kHz", "Set audio sampling rate to 32000 samples per second."},
|
||||
{44100, "RATE_44100", 0, "44.1 kHz", "Set audio sampling rate to 44100 samples per second."},
|
||||
{48000, "RATE_48000", 0, "48 kHz", "Set audio sampling rate to 48000 samples per second."},
|
||||
// {88200, "RATE_88200", 0, "88.2 kHz", "Set audio sampling rate to 88200 samples per second."},
|
||||
{96000, "RATE_96000", 0, "96 kHz", "Set audio sampling rate to 96000 samples per second."},
|
||||
{192000, "RATE_192000", 0, "192 kHz", "Set audio sampling rate to 192000 samples per second."},
|
||||
// {8000, "RATE_8000", 0, "8 kHz", "Set audio sampling rate to 8000 samples per second"},
|
||||
// {11025, "RATE_11025", 0, "11.025 kHz", "Set audio sampling rate to 11025 samples per second"},
|
||||
// {16000, "RATE_16000", 0, "16 kHz", "Set audio sampling rate to 16000 samples per second"},
|
||||
// {22050, "RATE_22050", 0, "22.05 kHz", "Set audio sampling rate to 22050 samples per second"},
|
||||
// {32000, "RATE_32000", 0, "32 kHz", "Set audio sampling rate to 32000 samples per second"},
|
||||
{44100, "RATE_44100", 0, "44.1 kHz", "Set audio sampling rate to 44100 samples per second"},
|
||||
{48000, "RATE_48000", 0, "48 kHz", "Set audio sampling rate to 48000 samples per second"},
|
||||
// {88200, "RATE_88200", 0, "88.2 kHz", "Set audio sampling rate to 88200 samples per second"},
|
||||
{96000, "RATE_96000", 0, "96 kHz", "Set audio sampling rate to 96000 samples per second"},
|
||||
{192000, "RATE_192000", 0, "192 kHz", "Set audio sampling rate to 192000 samples per second"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem audio_format_items[] = {
|
||||
{0x01, "U8", 0, "8-bit Unsigned", "Set audio sample format to 8 bit unsigned integer."},
|
||||
{0x12, "S16", 0, "16-bit Signed", "Set audio sample format to 16 bit signed integer."},
|
||||
{0x13, "S24", 0, "24-bit Signed", "Set audio sample format to 24 bit signed integer."},
|
||||
{0x14, "S32", 0, "32-bit Signed", "Set audio sample format to 32 bit signed integer."},
|
||||
{0x24, "FLOAT", 0, "32-bit Float", "Set audio sample format to 32 bit float."},
|
||||
{0x28, "DOUBLE", 0, "64-bit Float", "Set audio sample format to 64 bit float."},
|
||||
{0x01, "U8", 0, "8-bit Unsigned", "Set audio sample format to 8 bit unsigned integer"},
|
||||
{0x12, "S16", 0, "16-bit Signed", "Set audio sample format to 16 bit signed integer"},
|
||||
{0x13, "S24", 0, "24-bit Signed", "Set audio sample format to 24 bit signed integer"},
|
||||
{0x14, "S32", 0, "32-bit Signed", "Set audio sample format to 32 bit signed integer"},
|
||||
{0x24, "FLOAT", 0, "32-bit Float", "Set audio sample format to 32 bit float"},
|
||||
{0x28, "DOUBLE", 0, "64-bit Float", "Set audio sample format to 64 bit float"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem audio_channel_items[] = {
|
||||
{1, "MONO", 0, "Mono", "Set audio channels to mono."},
|
||||
{2, "STEREO", 0, "Stereo", "Set audio channels to stereo."},
|
||||
{4, "SURROUND4", 0, "4 Channels", "Set audio channels to 4 channels."},
|
||||
{6, "SURROUND51", 0, "5.1 Surround", "Set audio channels to 5.1 surround sound."},
|
||||
{8, "SURROUND71", 0, "7.1 Surround", "Set audio channels to 7.1 surround sound."},
|
||||
{1, "MONO", 0, "Mono", "Set audio channels to mono"},
|
||||
{2, "STEREO", 0, "Stereo", "Set audio channels to stereo"},
|
||||
{4, "SURROUND4", 0, "4 Channels", "Set audio channels to 4 channels"},
|
||||
{6, "SURROUND51", 0, "5.1 Surround", "Set audio channels to 5.1 surround sound"},
|
||||
{8, "SURROUND71", 0, "7.1 Surround", "Set audio channels to 7.1 surround sound"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem draw_method_items[] = {
|
||||
{USER_DRAW_AUTOMATIC, "AUTOMATIC", 0, "Automatic", "Automatically set based on graphics card and driver."},
|
||||
{USER_DRAW_TRIPLE, "TRIPLE_BUFFER", 0, "Triple Buffer", "Use a third buffer for minimal redraws at the cost of more memory."},
|
||||
{USER_DRAW_OVERLAP, "OVERLAP", 0, "Overlap", "Redraw all overlapping regions, minimal memory usage but more redraws."},
|
||||
{USER_DRAW_OVERLAP_FLIP, "OVERLAP_FLIP", 0, "Overlap Flip", "Redraw all overlapping regions, minimal memory usage but more redraws (for graphics drivers that do flipping)."},
|
||||
{USER_DRAW_FULL, "FULL", 0, "Full", "Do a full redraw each time, slow, only use for reference or when all else fails."},
|
||||
{USER_DRAW_AUTOMATIC, "AUTOMATIC", 0, "Automatic", "Automatically set based on graphics card and driver"},
|
||||
{USER_DRAW_TRIPLE, "TRIPLE_BUFFER", 0, "Triple Buffer", "Use a third buffer for minimal redraws at the cost of more memory"},
|
||||
{USER_DRAW_OVERLAP, "OVERLAP", 0, "Overlap", "Redraw all overlapping regions, minimal memory usage but more redraws"},
|
||||
{USER_DRAW_OVERLAP_FLIP, "OVERLAP_FLIP", 0, "Overlap Flip", "Redraw all overlapping regions, minimal memory usage but more redraws (for graphics drivers that do flipping)"},
|
||||
{USER_DRAW_FULL, "FULL", 0, "Full", "Do a full redraw each time, slow, only use for reference or when all else fails"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem color_picker_types[] = {
|
||||
@@ -2399,24 +2399,24 @@ static void rna_def_userdef_input(BlenderRNA *brna)
|
||||
StructRNA *srna;
|
||||
|
||||
static EnumPropertyItem select_mouse_items[] = {
|
||||
{USER_LMOUSESELECT, "LEFT", 0, "Left", "Use left Mouse Button for selection."},
|
||||
{0, "RIGHT", 0, "Right", "Use Right Mouse Button for selection."},
|
||||
{USER_LMOUSESELECT, "LEFT", 0, "Left", "Use left Mouse Button for selection"},
|
||||
{0, "RIGHT", 0, "Right", "Use Right Mouse Button for selection"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem view_rotation_items[] = {
|
||||
{0, "TURNTABLE", 0, "Turntable", "Use turntable style rotation in the viewport."},
|
||||
{USER_TRACKBALL, "TRACKBALL", 0, "Trackball", "Use trackball style rotation in the viewport."},
|
||||
{0, "TURNTABLE", 0, "Turntable", "Use turntable style rotation in the viewport"},
|
||||
{USER_TRACKBALL, "TRACKBALL", 0, "Trackball", "Use trackball style rotation in the viewport"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem view_zoom_styles[] = {
|
||||
{USER_ZOOM_CONT, "CONTINUE", 0, "Continue", "Old style zoom, continues while moving mouse up or down."},
|
||||
{USER_ZOOM_DOLLY, "DOLLY", 0, "Dolly", "Zooms in and out based on vertical mouse movement."},
|
||||
{USER_ZOOM_SCALE, "SCALE", 0, "Scale", "Zooms in and out like scaling the view, mouse movements relative to center."},
|
||||
{USER_ZOOM_CONT, "CONTINUE", 0, "Continue", "Old style zoom, continues while moving mouse up or down"},
|
||||
{USER_ZOOM_DOLLY, "DOLLY", 0, "Dolly", "Zooms in and out based on vertical mouse movement"},
|
||||
{USER_ZOOM_SCALE, "SCALE", 0, "Scale", "Zooms in and out like scaling the view, mouse movements relative to center"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
static EnumPropertyItem view_zoom_axes[] = {
|
||||
{0, "VERTICAL", 0, "Vertical", "Zooms in and out based on vertical mouse movement."},
|
||||
{USER_ZOOM_DOLLY_HORIZ, "HORIZONTAL", 0, "Horizontal", "Zooms in and out based on horizontal mouse movement."},
|
||||
{0, "VERTICAL", 0, "Vertical", "Zooms in and out based on vertical mouse movement"},
|
||||
{USER_ZOOM_DOLLY_HORIZ, "HORIZONTAL", 0, "Horizontal", "Zooms in and out based on horizontal mouse movement"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "UserPreferencesInput", NULL);
|
||||
|
||||
@@ -106,12 +106,12 @@ static void rna_def_world_mtex(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem texco_items[] = {
|
||||
{TEXCO_VIEW, "VIEW", 0, "View", "Uses view vector for the texture coordinates."},
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates (interior mist)."},
|
||||
{TEXCO_ANGMAP, "ANGMAP", 0, "AngMap", "Uses 360 degree angular coordinates, e.g. for spherical light probes."},
|
||||
{TEXCO_H_SPHEREMAP, "SPHERE", 0, "Sphere", "For 360 degree panorama sky, spherical mapped, only top half."},
|
||||
{TEXCO_H_TUBEMAP, "TUBE", 0, "Tube", "For 360 degree panorama sky, cylindrical mapped, only top half."},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates."},
|
||||
{TEXCO_VIEW, "VIEW", 0, "View", "Uses view vector for the texture coordinates"},
|
||||
{TEXCO_GLOB, "GLOBAL", 0, "Global", "Uses global coordinates for the texture coordinates (interior mist)"},
|
||||
{TEXCO_ANGMAP, "ANGMAP", 0, "AngMap", "Uses 360 degree angular coordinates, e.g. for spherical light probes"},
|
||||
{TEXCO_H_SPHEREMAP, "SPHERE", 0, "Sphere", "For 360 degree panorama sky, spherical mapped, only top half"},
|
||||
{TEXCO_H_TUBEMAP, "TUBE", 0, "Tube", "For 360 degree panorama sky, cylindrical mapped, only top half"},
|
||||
{TEXCO_OBJECT, "OBJECT", 0, "Object", "Uses linked object's coordinates for texture coordinates"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "WorldTextureSlot", "TextureSlot");
|
||||
@@ -353,9 +353,9 @@ static void rna_def_world_mist(BlenderRNA *brna)
|
||||
PropertyRNA *prop;
|
||||
|
||||
static EnumPropertyItem falloff_items[] = {
|
||||
{0, "QUADRATIC", 0, "Quadratic", "Mist uses quadratic progression."},
|
||||
{1, "LINEAR", 0, "Linear", "Mist uses linear progression."},
|
||||
{2, "INVERSE_QUADRATIC", 0, "Inverse Quadratic", "Mist uses inverse quadratic progression."},
|
||||
{0, "QUADRATIC", 0, "Quadratic", "Mist uses quadratic progression"},
|
||||
{1, "LINEAR", 0, "Linear", "Mist uses linear progression"},
|
||||
{2, "INVERSE_QUADRATIC", 0, "Inverse Quadratic", "Mist uses inverse quadratic progression"},
|
||||
{0, NULL, 0, NULL, NULL}};
|
||||
|
||||
srna= RNA_def_struct(brna, "WorldMistSettings", NULL);
|
||||
|
||||
@@ -788,9 +788,9 @@ void WM_operator_properties_filesel(wmOperatorType *ot, int filter, short type,
|
||||
{
|
||||
PropertyRNA *prop;
|
||||
|
||||
RNA_def_string_file_path(ot->srna, "path", "", FILE_MAX, "File Path", "Path to file.");
|
||||
RNA_def_string_file_name(ot->srna, "filename", "", FILE_MAX, "File Name", "Name of the file.");
|
||||
RNA_def_string_dir_path(ot->srna, "directory", "", FILE_MAX, "Directory", "Directory of the file.");
|
||||
RNA_def_string_file_path(ot->srna, "path", "", FILE_MAX, "File Path", "Path to file");
|
||||
RNA_def_string_file_name(ot->srna, "filename", "", FILE_MAX, "File Name", "Name of the file");
|
||||
RNA_def_string_dir_path(ot->srna, "directory", "", FILE_MAX, "Directory", "Directory of the file");
|
||||
|
||||
if (action == FILE_SAVE) {
|
||||
prop= RNA_def_boolean(ot->srna, "check_existing", 1, "Check Existing", "Check and warn on overwriting existing files");
|
||||
@@ -817,7 +817,7 @@ void WM_operator_properties_filesel(wmOperatorType *ot, int filter, short type,
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
|
||||
prop= RNA_def_int(ot->srna, "filemode", type, FILE_LOADLIB, FILE_SPECIAL,
|
||||
"File Browser Mode", "The setting for the file browser mode to load a .blend file, a library or a special file.",
|
||||
"File Browser Mode", "The setting for the file browser mode to load a .blend file, a library or a special file",
|
||||
FILE_LOADLIB, FILE_SPECIAL);
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||
}
|
||||
@@ -843,7 +843,7 @@ void WM_operator_properties_gesture_border(wmOperatorType *ot, int extend)
|
||||
RNA_def_int(ot->srna, "ymax", 0, INT_MIN, INT_MAX, "Y Max", "", INT_MIN, INT_MAX);
|
||||
|
||||
if(extend)
|
||||
RNA_def_boolean(ot->srna, "extend", 1, "Extend", "Extend selection instead of deselecting everything first.");
|
||||
RNA_def_boolean(ot->srna, "extend", 1, "Extend", "Extend selection instead of deselecting everything first");
|
||||
}
|
||||
|
||||
|
||||
@@ -1366,7 +1366,7 @@ static void WM_OT_open_mainfile(wmOperatorType *ot)
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE|BLENDERFILE, FILE_BLENDER, FILE_OPENFILE);
|
||||
|
||||
RNA_def_boolean(ot->srna, "load_ui", 1, "Load UI", "Load user interface setup in the .blend file.");
|
||||
RNA_def_boolean(ot->srna, "load_ui", 1, "Load UI", "Load user interface setup in the .blend file");
|
||||
}
|
||||
|
||||
/* **************** link/append *************** */
|
||||
@@ -1524,11 +1524,11 @@ static void WM_OT_link_append(wmOperatorType *ot)
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE|BLENDERFILE, FILE_LOADLIB, FILE_OPENFILE);
|
||||
|
||||
RNA_def_boolean(ot->srna, "link", 1, "Link", "Link the objects or datablocks rather than appending.");
|
||||
RNA_def_boolean(ot->srna, "autoselect", 1, "Select", "Select the linked objects.");
|
||||
RNA_def_boolean(ot->srna, "active_layer", 1, "Active Layer", "Put the linked objects on the active layer.");
|
||||
RNA_def_boolean(ot->srna, "instance_groups", 1, "Instance Groups", "Create instances for each group as a DupliGroup.");
|
||||
RNA_def_boolean(ot->srna, "relative_paths", 1, "Relative Paths", "Store the library path as a relative path to current .blend file.");
|
||||
RNA_def_boolean(ot->srna, "link", 1, "Link", "Link the objects or datablocks rather than appending");
|
||||
RNA_def_boolean(ot->srna, "autoselect", 1, "Select", "Select the linked objects");
|
||||
RNA_def_boolean(ot->srna, "active_layer", 1, "Active Layer", "Put the linked objects on the active layer");
|
||||
RNA_def_boolean(ot->srna, "instance_groups", 1, "Instance Groups", "Create instances for each group as a DupliGroup");
|
||||
RNA_def_boolean(ot->srna, "relative_paths", 1, "Relative Paths", "Store the library path as a relative path to current .blend file");
|
||||
|
||||
RNA_def_collection_runtime(ot->srna, "files", &RNA_OperatorFileListElement, "Files", "");
|
||||
}
|
||||
@@ -1690,8 +1690,8 @@ static void WM_OT_save_as_mainfile(wmOperatorType *ot)
|
||||
ot->poll= WM_operator_winactive;
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE|BLENDERFILE, FILE_BLENDER, FILE_SAVE);
|
||||
RNA_def_boolean(ot->srna, "compress", 0, "Compress", "Write compressed .blend file.");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", 0, "Remap Relative", "Remap relative paths when saving in a different directory.");
|
||||
RNA_def_boolean(ot->srna, "compress", 0, "Compress", "Write compressed .blend file");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", 0, "Remap Relative", "Remap relative paths when saving in a different directory");
|
||||
}
|
||||
|
||||
/* *************** save file directly ******** */
|
||||
@@ -1739,8 +1739,8 @@ static void WM_OT_save_mainfile(wmOperatorType *ot)
|
||||
ot->poll= NULL;
|
||||
|
||||
WM_operator_properties_filesel(ot, FOLDERFILE|BLENDERFILE, FILE_BLENDER, FILE_SAVE);
|
||||
RNA_def_boolean(ot->srna, "compress", 0, "Compress", "Write compressed .blend file.");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", 0, "Remap Relative", "Remap relative paths when saving in a different directory.");
|
||||
RNA_def_boolean(ot->srna, "compress", 0, "Compress", "Write compressed .blend file");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", 0, "Remap Relative", "Remap relative paths when saving in a different directory");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user