From 4da2acae3ab1a40db8be7f7df36da29cfcbf280c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 3 Sep 2018 16:49:08 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz. Differential Revision: https://developer.blender.org/D3668 --- source/blender/alembic/intern/abc_archive.h | 2 +- source/blender/alembic/intern/abc_curves.cc | 2 +- source/blender/alembic/intern/abc_nurbs.cc | 4 ++-- source/blender/alembic/intern/abc_util.h | 4 ++-- source/blender/alembic/intern/alembic_capi.cc | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'source/blender/alembic/intern') diff --git a/source/blender/alembic/intern/abc_archive.h b/source/blender/alembic/intern/abc_archive.h index 84309fbc9df..5696aed9ef3 100644 --- a/source/blender/alembic/intern/abc_archive.h +++ b/source/blender/alembic/intern/abc_archive.h @@ -53,7 +53,7 @@ public: /** * Returns true when either Blender is compiled with HDF5 support and - * the archive was succesfully opened (valid() will also return true), + * the archive was successfully opened (valid() will also return true), * or when Blender was built without HDF5 support but a HDF5 file was * detected (valid() will return false). */ diff --git a/source/blender/alembic/intern/abc_curves.cc b/source/blender/alembic/intern/abc_curves.cc index f73fe957fea..b0e2538e8bc 100644 --- a/source/blender/alembic/intern/abc_curves.cc +++ b/source/blender/alembic/intern/abc_curves.cc @@ -154,7 +154,7 @@ void AbcCurveWriter::do_write() if (nurbs->knotsu != NULL) { const size_t num_knots = KNOTSU(nurbs); - /* Add an extra knot at the beggining and end of the array since most apps + /* Add an extra knot at the beginning and end of the array since most apps * require/expect them. */ knots.resize(num_knots + 2); diff --git a/source/blender/alembic/intern/abc_nurbs.cc b/source/blender/alembic/intern/abc_nurbs.cc index eaef06fd6d1..6273507486a 100644 --- a/source/blender/alembic/intern/abc_nurbs.cc +++ b/source/blender/alembic/intern/abc_nurbs.cc @@ -103,7 +103,7 @@ static void get_knots(std::vector &knots, const int num_knots, float *nu_ return; } - /* Add an extra knot at the beggining and end of the array since most apps + /* Add an extra knot at the beginning and end of the array since most apps * require/expect them. */ knots.reserve(num_knots + 2); @@ -167,7 +167,7 @@ void AbcNurbsWriter::do_write() sample.setNu(nu->pntsu); sample.setNv(nu->pntsv); - /* TODO(kevin): to accomodate other software we should duplicate control + /* TODO(kevin): to accommodate other software we should duplicate control * points to indicate that a NURBS is cyclic. */ OCompoundProperty user_props = m_nurbs_schema[count].getUserProperties(); diff --git a/source/blender/alembic/intern/abc_util.h b/source/blender/alembic/intern/abc_util.h index 2526958111a..06eb3f140ca 100644 --- a/source/blender/alembic/intern/abc_util.h +++ b/source/blender/alembic/intern/abc_util.h @@ -167,7 +167,7 @@ typedef enum { } AbcAxisSwapMode; /* Create a rotation matrix for each axis from euler angles. - * Euler angles are swaped to change coordinate system. */ + * Euler angles are swapped to change coordinate system. */ void create_swapped_rotation_matrix( float rot_x_mat[3][3], float rot_y_mat[3][3], float rot_z_mat[3][3], const float euler[3], @@ -197,7 +197,7 @@ public: /* *************************** */ /** - * Utility class whose purpose is to more easily log related informations. An + * Utility class whose purpose is to more easily log related information. An * instance of the SimpleLogger can be created in any context, and will hold a * copy of all the strings passed to its output stream. * diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc index 0d2316ce7d9..b7c1f98bfb0 100644 --- a/source/blender/alembic/intern/alembic_capi.cc +++ b/source/blender/alembic/intern/alembic_capi.cc @@ -293,7 +293,7 @@ static void export_endjob(void *customdata) if (!data->settings.logger.empty()) { std::cerr << data->settings.logger; - WM_report(RPT_ERROR, "Errors occured during the export, look in the console to know more..."); + WM_report(RPT_ERROR, "Errors occurred during the export, look in the console to know more..."); } G.is_rendering = false; @@ -318,7 +318,7 @@ bool ABC_export( * ExportJobData contains an ExportSettings containing a SimpleLogger. * * Since ExportJobData is a C-style struct dynamically allocated with - * MEM_mallocN (see above), its construtor is never called, therefore the + * MEM_mallocN (see above), its constructor is never called, therefore the * ExportSettings constructor is not called which implies that the * SimpleLogger one is not called either. SimpleLogger in turn does not call * the constructor of its data members which ultimately means that its @@ -797,7 +797,7 @@ static void import_endjob(void *user_data) for (iter = data->readers.begin(); iter != data->readers.end(); ++iter) { Object *ob = (*iter)->object(); - /* It's possible that cancellation occured between the creation of + /* It's possible that cancellation occurred between the creation of * the reader and the creation of the Blender object. */ if (ob == NULL) continue; -- cgit v1.2.3