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:
authorCampbell Barton <ideasman42@gmail.com>2021-03-26 06:49:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-26 06:55:55 +0300
commitce528d02e103776895ad9c60d9c3b0a3356f335b (patch)
tree33aae5736e9769722f0d1272bddc508f49495184 /source/blender/io/gpencil/intern
parentdda02a448a38a5f5f4b0df1738bec3b158ce739f (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/io/gpencil/intern')
-rw-r--r--source/blender/io/gpencil/intern/gpencil_io_export_svg.cc4
-rw-r--r--source/blender/io/gpencil/intern/gpencil_io_import_svg.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
index 89584cd242f..d5d519dba93 100644
--- a/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
+++ b/source/blender/io/gpencil/intern/gpencil_io_export_svg.cc
@@ -396,7 +396,7 @@ void GpencilExporterSVG::color_string_set(bGPDlayer *gpl,
* \param node: Parent node
* \param x: X location
* \param y: Y location
- * \param width: width of the recntagle
+ * \param width: width of the rectangle
* \param height: Height of the rectangle
* \param thickness: Thickness of the line
* \param hexcolor: Color of the line
@@ -427,7 +427,7 @@ void GpencilExporterSVG::add_rect(pugi::xml_node node,
* \param x: X location
* \param y: Y location
* \param text: Text to include
- * \param size: Size of th etext
+ * \param size: Size of the text
* \param hexcolor: Color of the text
*/
void GpencilExporterSVG::add_text(pugi::xml_node node,
diff --git a/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc b/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc
index 7f450477ac2..171357b6c77 100644
--- a/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc
+++ b/source/blender/io/gpencil/intern/gpencil_io_import_svg.cc
@@ -196,10 +196,10 @@ void GpencilImporterSVG::create_stroke(bGPdata *gpd,
pt->strength = shape->opacity;
pt->pressure = 1.0f;
pt->z = 0.0f;
- /* TODO: (antoniov) Can be improved loading curve data instead of loading strokes. */
+ /* TODO(antoniov): Can be improved loading curve data instead of loading strokes. */
interp_v2_v2v2v2v2_cubic(&pt->x, &p[0], &p[2], &p[4], &p[6], a);
- /* Scale from milimeters. */
+ /* Scale from millimeters. */
mul_v3_fl(&pt->x, 0.001f);
mul_m4_v3(matrix, &pt->x);