diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 06:49:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-26 06:55:55 +0300 |
commit | ce528d02e103776895ad9c60d9c3b0a3356f335b (patch) | |
tree | 33aae5736e9769722f0d1272bddc508f49495184 /source/blender/io | |
parent | dda02a448a38a5f5f4b0df1738bec3b158ce739f (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/io')
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/io/gpencil/gpencil_io.h b/source/blender/io/gpencil/gpencil_io.h index f4b2e59f8c5..24b13479359 100644 --- a/source/blender/io/gpencil/gpencil_io.h +++ b/source/blender/io/gpencil/gpencil_io.h @@ -78,7 +78,7 @@ typedef enum eGpencilExportSelect { GP_EXPORT_VISIBLE = 2, } eGpencilExportSelect; -/* Framerange to be exported. */ +/** Frame-range to be exported. */ typedef enum eGpencilExportFrame { GP_EXPORT_FRAME_ACTIVE = 0, GP_EXPORT_FRAME_SELECTED = 1, 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); diff --git a/source/blender/io/gpencil/nanosvg/nanosvg.h b/source/blender/io/gpencil/nanosvg/nanosvg.h index 1009d684f7c..6db32e9f40a 100644 --- a/source/blender/io/gpencil/nanosvg/nanosvg.h +++ b/source/blender/io/gpencil/nanosvg/nanosvg.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-14 Mikko Mononen memon@inside.org + * Copyright (c) 2013-14 `Mikko Mononen <memon@inside.org>` * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages @@ -459,9 +459,9 @@ typedef struct NSVGparser { float dpi; char pathFlag; char defsFlag; - /** Blender breadscrum for layers. */ + /** Blender breadcrumb for layers. */ char breadcrumb[NSVG_MAX_BREADCRUMB][64]; - /** Blender number of elements in breadscrum. */ + /** Blender number of elements in breadcrumb. */ int breadcrumb_len; } NSVGparser; |