forked from bartvdbraak/blender
Various fixes in UI messages.
Along some other typos in comments or variable names.
This commit is contained in:
parent
a34e7c3e5d
commit
9d3550d781
@ -376,6 +376,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = {
|
||||
"multi-res modifier",
|
||||
"non-triangle face",
|
||||
"normal",
|
||||
"performance impact!",
|
||||
"right",
|
||||
"the lazy dog",
|
||||
"unable to load movie clip",
|
||||
|
@ -124,13 +124,14 @@ class SpellChecker:
|
||||
"forcefield", "forcefields",
|
||||
"fulldome", "fulldomes",
|
||||
"fullscreen",
|
||||
"gridline",
|
||||
"gridline", "gridlines",
|
||||
"hardlight",
|
||||
"hemi",
|
||||
"hostname",
|
||||
"inbetween",
|
||||
"inscatter", "inscattering",
|
||||
"libdata",
|
||||
"lightcache",
|
||||
"lightprobe", "lightprobes",
|
||||
"lightless",
|
||||
"lineset",
|
||||
@ -161,6 +162,7 @@ class SpellChecker:
|
||||
"online",
|
||||
"playhead",
|
||||
"popup", "popups",
|
||||
"pointcloud",
|
||||
"pre",
|
||||
"precache", "precaching",
|
||||
"precalculate",
|
||||
@ -182,6 +184,7 @@ class SpellChecker:
|
||||
"reprojection", "reproject", "reprojecting",
|
||||
"resize",
|
||||
"restpose",
|
||||
"resync",
|
||||
"retarget", "retargets", "retargeting", "retargeted",
|
||||
"retiming",
|
||||
"rigidbody",
|
||||
@ -608,6 +611,7 @@ class SpellChecker:
|
||||
"courant",
|
||||
"cryptomatte", "crypto",
|
||||
"embree",
|
||||
"gmp",
|
||||
"hosek",
|
||||
"kutta",
|
||||
"lennard",
|
||||
|
@ -1384,7 +1384,7 @@ class PHYSICS_PT_viewport_display_debug(PhysicButtonsPanel, Panel):
|
||||
|
||||
if not domain.use_guide and domain.vector_field == 'GUIDE_VELOCITY':
|
||||
note = layout.split()
|
||||
note.label(icon='INFO', text="Enable Guides first! Defaulting to Fluid Velocity.")
|
||||
note.label(icon='INFO', text="Enable Guides first! Defaulting to Fluid Velocity")
|
||||
|
||||
if domain.vector_display_type == 'MAC':
|
||||
sub = col.column(heading="MAC Grid")
|
||||
|
@ -250,7 +250,7 @@ static void brush_blend_read_data(BlendDataReader *reader, ID *id)
|
||||
{
|
||||
Brush *brush = (Brush *)id;
|
||||
|
||||
/* fallof curve */
|
||||
/* Falloff curve. */
|
||||
BLO_read_data_address(reader, &brush->curve);
|
||||
|
||||
BLO_read_data_address(reader, &brush->gradient);
|
||||
|
@ -724,7 +724,7 @@ ToolSettings *BKE_toolsettings_copy(ToolSettings *toolsettings, const int flag)
|
||||
|
||||
/* duplicate Grease Pencil interpolation curve */
|
||||
ts->gp_interpolate.custom_ipo = BKE_curvemapping_copy(ts->gp_interpolate.custom_ipo);
|
||||
/* duplicate Grease Pencil multiframe fallof */
|
||||
/* Duplicate Grease Pencil multiframe falloff. */
|
||||
ts->gp_sculpt.cur_falloff = BKE_curvemapping_copy(ts->gp_sculpt.cur_falloff);
|
||||
ts->gp_sculpt.cur_primitive = BKE_curvemapping_copy(ts->gp_sculpt.cur_primitive);
|
||||
|
||||
|
@ -271,8 +271,8 @@ static float gpencil_brush_influence_calc(tGP_BrushEditData *gso,
|
||||
float distance = (float)len_v2v2_int(mval_i, co);
|
||||
|
||||
/* Apply Brush curve. */
|
||||
float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_fallof;
|
||||
float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_falloff;
|
||||
|
||||
/* apply multiframe falloff */
|
||||
influence *= gso->mf_falloff;
|
||||
|
@ -231,8 +231,8 @@ static float brush_influence_calc(tGP_BrushVertexpaintData *gso, const int radiu
|
||||
float distance = (float)len_v2v2_int(mval_i, co);
|
||||
|
||||
/* Apply Brush curve. */
|
||||
float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_fallof;
|
||||
float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_falloff;
|
||||
|
||||
/* apply multiframe falloff */
|
||||
influence *= gso->mf_falloff;
|
||||
@ -646,7 +646,7 @@ static bool brush_smear_apply(tGP_BrushVertexpaintData *gso,
|
||||
inf *= gso->pressure;
|
||||
}
|
||||
|
||||
/* Calc distance from initial sample location and add a fallof effect. */
|
||||
/* Calc distance from initial sample location and add a falloff effect. */
|
||||
int mval_i[2];
|
||||
round_v2i_v2fl(mval_i, gso->mval);
|
||||
float distance = (float)len_v2v2_int(mval_i, gso->grid_sample);
|
||||
|
@ -203,8 +203,8 @@ static float brush_influence_calc(tGP_BrushWeightpaintData *gso, const int radiu
|
||||
influence *= 1.0f - (distance / max_ff(radius, 1e-8));
|
||||
|
||||
/* Apply Brush curve. */
|
||||
float brush_fallof = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_fallof;
|
||||
float brush_falloff = BKE_brush_curve_strength(brush, distance, (float)radius);
|
||||
influence *= brush_falloff;
|
||||
|
||||
/* apply multi-frame falloff */
|
||||
influence *= gso->mf_falloff;
|
||||
|
@ -1744,7 +1744,7 @@ static void paint_cursor_cursor_draw_3d_view_brush_cursor_active(PaintCursorCont
|
||||
else if (brush->cloth_force_falloff_type == BRUSH_CLOTH_FORCE_FALLOFF_RADIAL &&
|
||||
brush->cloth_simulation_area_type == BRUSH_CLOTH_SIMULATION_AREA_LOCAL) {
|
||||
/* Display the simulation limits if sculpting outside them. */
|
||||
/* This does not makes much sense of plane fallof as the fallof is infinte or global. */
|
||||
/* This does not makes much sense of plane falloff as the falloff is infinte or global. */
|
||||
|
||||
if (len_v3v3(ss->cache->true_location, ss->cache->true_initial_location) >
|
||||
ss->cache->radius * (1.0f + brush->cloth_sim_limit)) {
|
||||
|
@ -113,7 +113,7 @@ static void copyData(const GpencilModifierData *md, GpencilModifierData *target)
|
||||
tgmd->curfalloff = BKE_curvemapping_copy(gmd->curfalloff);
|
||||
}
|
||||
|
||||
/* calculate factor of fallof */
|
||||
/* Calculate the factor of falloff. */
|
||||
static float gpencil_hook_falloff(const struct GPHookData_cb *tData, const float len_sq)
|
||||
{
|
||||
BLI_assert(tData->falloff_sq);
|
||||
|
@ -2036,7 +2036,7 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
"RADIUS",
|
||||
0,
|
||||
"Brush Radius",
|
||||
"Applies the deformation in a localiced area limited by the brush radius"},
|
||||
"Applies the deformation in a localized area limited by the brush radius"},
|
||||
{BRUSH_BOUNDARY_FALLOFF_LOOP,
|
||||
"LOOP",
|
||||
0,
|
||||
@ -2046,8 +2046,8 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
"LOOP_INVERT",
|
||||
0,
|
||||
"Loop and Invert",
|
||||
"Applies the fallof radius in a loop pattern, inverting the displacement direction in each "
|
||||
"pattern repetition"},
|
||||
"Applies the falloff radius in a loop pattern, inverting the displacement direction in "
|
||||
"each pattern repetition"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
@ -2056,7 +2056,7 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
"LOCAL",
|
||||
0,
|
||||
"Local",
|
||||
"Simulates only a specific area arround the brush limited by a fixed radius"},
|
||||
"Simulates only a specific area around the brush limited by a fixed radius"},
|
||||
{BRUSH_CLOTH_SIMULATION_AREA_GLOBAL, "GLOBAL", 0, "Global", "Simulates the entire mesh"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
@ -2941,7 +2941,7 @@ static void rna_def_brush(BlenderRNA *brna)
|
||||
prop,
|
||||
"Pin Simulation Boundary",
|
||||
"Lock the position of the vertices in the simulation falloff area to avoid artifacts and "
|
||||
"create a softer transitionwith with unnafected areas");
|
||||
"create a softer transition with unaffected areas");
|
||||
RNA_def_property_update(prop, 0, "rna_Brush_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_cloth_collision", PROP_BOOLEAN, PROP_NONE);
|
||||
|
@ -1567,7 +1567,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
"OBJECT",
|
||||
0,
|
||||
"Object",
|
||||
"Use an object for the section of the curve's bevel goemetry segment"},
|
||||
"Use an object for the section of the curve's bevel geometry segment"},
|
||||
{CU_BEV_MODE_CURVE_PROFILE,
|
||||
"PROFILE",
|
||||
0,
|
||||
|
@ -81,7 +81,7 @@ const EnumPropertyItem rna_enum_rigidbody_object_shape_items[] = {
|
||||
"COMPOUND",
|
||||
ICON_MESH_DATA,
|
||||
"Compound Parent",
|
||||
"Combines all of its direct rigid body children into one rigid object."},
|
||||
"Combines all of its direct rigid body children into one rigid object"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user