Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/blenkernel/intern/linestyle.c14
-rw-r--r--source/blender/makesrna/intern/rna_linestyle.c6
2 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c
index 901c6fd54d9..ac2c4e35dce 100644
--- a/source/blender/blenkernel/intern/linestyle.c
+++ b/source/blender/blenkernel/intern/linestyle.c
@@ -1174,12 +1174,12 @@ LineStyleModifier *BKE_linestyle_geometry_modifier_add(FreestyleLineStyle *lines
p->pivot_y = 0.0f;
break;
}
- case LS_MODIFIER_SIMPLIFICATION:
- {
- LineStyleGeometryModifier_Simplification *p = (LineStyleGeometryModifier_Simplification *)m;
- p->tolerance = 0.1f;
- break;
- }
+ case LS_MODIFIER_SIMPLIFICATION:
+ {
+ LineStyleGeometryModifier_Simplification *p = (LineStyleGeometryModifier_Simplification *)m;
+ p->tolerance = 0.1f;
+ break;
+ }
default:
return NULL; /* unknown modifier type */
}
@@ -1429,7 +1429,7 @@ char *BKE_linestyle_path_to_color_ramp(FreestyleLineStyle *linestyle, ColorBand
found = true;
break;
case LS_MODIFIER_CREASE_ANGLE:
- if (color_ramp == ((LineStyleColorModifier_CreaseAngle*)m)->color_ramp)
+ if (color_ramp == ((LineStyleColorModifier_CreaseAngle *)m)->color_ramp)
found = true;
break;
case LS_MODIFIER_CURVATURE_3D:
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c
index 81f3e149a71..9f5ae22c78b 100644
--- a/source/blender/makesrna/intern/rna_linestyle.c
+++ b/source/blender/makesrna/intern/rna_linestyle.c
@@ -866,7 +866,7 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna)
srna = RNA_def_struct(brna, "LineStyleColorModifier_Curvature_3D", "LineStyleColorModifier");
RNA_def_struct_ui_text(srna, "Curvature 3D",
- "Change line color based on the radial curvature of 3D mesh surfaces");
+ "Change line color based on the radial curvature of 3D mesh surfaces");
rna_def_color_modifier(srna);
rna_def_modifier_color_ramp_common(srna, false);
@@ -945,7 +945,7 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna)
srna = RNA_def_struct(brna, "LineStyleAlphaModifier_CreaseAngle", "LineStyleAlphaModifier");
RNA_def_struct_ui_text(srna, "Crease Angle",
- "Alpha transparency based on the angle between two adjacent faces");
+ "Alpha transparency based on the angle between two adjacent faces");
rna_def_alpha_modifier(srna);
rna_def_modifier_curve_common(srna, false, false);
@@ -1079,7 +1079,7 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna)
srna = RNA_def_struct(brna, "LineStyleThicknessModifier_Curvature_3D", "LineStyleThicknessModifier");
RNA_def_struct_ui_text(srna, "Curvature 3D",
- "Line thickness based on the radial curvature of 3D mesh surfaces");
+ "Line thickness based on the radial curvature of 3D mesh surfaces");
rna_def_thickness_modifier(srna);
rna_def_modifier_curve_common(srna, false, false);