Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix typos in stuff/ and toonz/source/include subdirs (#6387)

luzpaz478d98a57266
diff --git a/stuff/config/current.txt b/stuff/config/current.txt
index b7d7f5096..51f0fa192 100644
--- a/stuff/config/current.txt
+++ b/stuff/config/current.txt
@@ -1285,7 +1285,7 @@
<item>"STD_iwa_SpectrumFx.loopSpectrumFadeWidth" "Loop Spectrum Fade Width" </item>
<item>"STD_iwa_SpectrumFx.spectrumShift" "Spectrum Shift" </item>
<item>"STD_iwa_SpectrumFx.lensFactor" "Lens Factor" </item>
- <item>"STD_iwa_SpectrumFx.lightThres" "Light Threshod"</item>
+ <item>"STD_iwa_SpectrumFx.lightThres" "Light Threshold"</item>
<item>"STD_iwa_SpectrumFx.lightIntensity" "Light Intensity"</item>
<item>"STD_iwa_TileFx" "Tile Iwa"</item>
diff --git a/stuff/config/qss/Default/less/themes/default/default-theme.less b/stuff/config/qss/Default/less/themes/default/default-theme.less
index a83f1a0c4..a2bfa4f4f 100644
--- a/stuff/config/qss/Default/less/themes/default/default-theme.less
+++ b/stuff/config/qss/Default/less/themes/default/default-theme.less
@@ -5,7 +5,7 @@
// -----------------------------------------------------------------------------
// DEFAULT THEME
// All other themes derive from this, since LESS prioritizes the most recent
-// variable definitions we can override only ones nessesary.
+// variable definitions we can override only ones necessary.
// -----------------------------------------------------------------------------
// Includes
diff --git a/stuff/profiles/layouts/settings/xsheet.css b/stuff/profiles/layouts/settings/xsheet.css
index c1107505e..39133158d 100644
--- a/stuff/profiles/layouts/settings/xsheet.css
+++ b/stuff/profiles/layouts/settings/xsheet.css
@@ -1,5 +1,5 @@
.header {
- border-type: inser;
+ border-type: inset;
border: 1px solid black;
background: #F0F0F0
}
diff --git a/toonz/sources/common/tvrender/tstrokeutil.cpp b/toonz/sources/common/tvrender/tstrokeutil.cpp
index 51381f8a4..3ce4cb75b 100644
--- a/toonz/sources/common/tvrender/tstrokeutil.cpp
+++ b/toonz/sources/common/tvrender/tstrokeutil.cpp
@@ -141,9 +141,9 @@ void detectEdges(const std::vector<TPointD> &pointArray,
// runs pointArray and for each of its points tries to inscribe triangles
// (using left and right points) considering potential corners those with
// sides l such that dMin <= l <= dMax (actually at the first time that l >
- // dMax: breack) and with angular aperture alpha <= alphaMax.
+ // dMax: break) and with angular aperture alpha <= alphaMax.
// Then it looks for local maxes among the potential corners in a window of
- // semiamplitude dMax(actually at the first time dMax : breack is exceeded)
+ // semiamplitude dMax(actually at the first time dMax : break is exceeded)
// default values: dMin = 7; dMax = dMin + 2; alphaMax = 2.6 (150 degrees)
const double dMin = 4;
diff --git a/toonz/sources/image/avi/tiio_avi.cpp b/toonz/sources/image/avi/tiio_avi.cpp
index 9cf99eee4..d68e9088e 100644
--- a/toonz/sources/image/avi/tiio_avi.cpp
+++ b/toonz/sources/image/avi/tiio_avi.cpp
@@ -748,7 +748,7 @@ TLevelReaderAvi::TLevelReaderAvi(const TFilePath &path)
result = ICDecompressBegin(m_hic, m_srcBitmapInfo, m_dstBitmapInfo);
if (result != ICERR_OK)
throw TImageException(getFilePath(),
- "unable to initializate the decompressor");
+ "unable to initialize the decompressor");
char descr[2048], name[2048];
ICGetInfo(m_hic, &icinfo, sizeof(ICINFO)); // Find out the compressor name
diff --git a/toonz/sources/image/png/tiio_png.cpp b/toonz/sources/image/png/tiio_png.cpp
index 490c2f424..62ec4e5f5 100644
--- a/toonz/sources/image/png/tiio_png.cpp
+++ b/toonz/sources/image/png/tiio_png.cpp
@@ -284,7 +284,7 @@ public:
if (setjmp(png_jmpbuf(m_png_ptr))) {
// If an error is caught in the next line, execution jumps here.
- // We'll keep going in order ot load whever we can read.
+ // We'll keep going in order to load whatever we can read.
return;
}
diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cpp
index 306c8031c..4332cf884 100644
--- a/toonz/sources/image/tzl/tiio_tzl.cpp
+++ b/toonz/sources/image/tzl/tiio_tzl.cpp
@@ -1305,7 +1305,7 @@ bool TLevelWriterTzl::checkIconSize(const TDimension &newSize) {
return false;
m_currentIconSize = TDimension(
- iconLx, iconLy); // This is not performed if the above pre-emptive
+ iconLx, iconLy); // This is not performed if the above preemptive
// bailout kicks in. BTW, m_currentIconSize
// is currently UNUSED! Should be cleaned up...
// Compare newSize against read icon size in the file
diff --git a/toonz/sources/include/ext/StrokeDeformation.h b/toonz/sources/include/ext/StrokeDeformation.h
index 8cb7673d7..c873f877f 100644
--- a/toonz/sources/include/ext/StrokeDeformation.h
+++ b/toonz/sources/include/ext/StrokeDeformation.h
@@ -49,8 +49,8 @@ class StrokeDeformationImpl;
* algorithms.
*
* StrokeDeformation is a wrapper for for StrokeDeformationImpl,
- * its function is to verify state and parameteres before
- * to call the implementation methods of deformation.
+ * its function is to verify state and parameters before to call
+ * the implementation methods of deformation.
*
* There is an internal status to verify that actions:
* @arg @c CREATED on constructor
diff --git a/toonz/sources/include/tcolorutils.h b/toonz/sources/include/tcolorutils.h
index dcaf57757..c02838c33 100644
--- a/toonz/sources/include/tcolorutils.h
+++ b/toonz/sources/include/tcolorutils.h
@@ -28,7 +28,7 @@ DVAPI void buildPalette(std::set<TPixel32> &palette, const TRaster32P &raster,
/*-- Make each different pixel color a separate style --*/
DVAPI void buildPrecisePalette(std::set<TPixel32> &palette,
const TRaster32P &raster, int maxColorCount);
-// pick up color chip sorrounded by frames with specified color
+// pick up color chip surrounded by frames with specified color
DVAPI void buildColorChipPalette(QList<QPair<TPixel32, TPoint>> &palette,
const TRaster32P &raster, int maxColorCount,
const TPixel32 &gridColor,
diff --git a/toonz/sources/include/texpression.h b/toonz/sources/include/texpression.h
index 88c16ada0..8a67ac144 100644
--- a/toonz/sources/include/texpression.h
+++ b/toonz/sources/include/texpression.h
@@ -39,7 +39,7 @@ class Calculator;
//! This class manages a generic expression.
/*!
- An expression is a sequence of characthers and contains:
+ An expression is a sequence of characters and contains:
\li a \e CalcNode that is a basic element of the expression that must be
evaluated;
diff --git a/toonz/sources/include/tfilepath.h b/toonz/sources/include/tfilepath.h
index b31e36b31..f07b3ce7e 100644
--- a/toonz/sources/include/tfilepath.h
+++ b/toonz/sources/include/tfilepath.h
@@ -217,7 +217,7 @@ If the path is "<alpha>:" a slash will be added*/
std::string getDottedType() const; // ritorna l'estensione con il PUNTO (se
// non c'e' estensione ritorna "")
- /*!Returns the filename extension, escluding leading period (.).
+ /*!Returns the filename extension, excluding leading period (.).
Returns "" if there is no filename extension.*/
std::string getUndottedType() const; // ritorna l'estensione senza PUNTO
@@ -232,7 +232,7 @@ If the path is "<alpha>:" a slash will be added*/
std::string getName() const; // noDot! noSlash!
std::wstring getWideName() const; // noDot! noSlash!
- /*!Returns the filename (with extension, escluding in case the frame number).
+ /*!Returns the filename (with extension, excluding in case the frame number).
ex.: TFilePath("/pippo/pluto.0001.gif").getLevelName() == "pluto..gif"
*/
std::string getLevelName()
@@ -242,7 +242,7 @@ If the path is "<alpha>:" a slash will be added*/
const; // es. TFilePath("/pippo/pluto.0001.gif").getLevelName() ==
// "pluto..gif"
- /*!Returns the parent directory escluding the eventual final slash.*/
+ /*!Returns the parent directory excluding the eventual final slash.*/
TFilePath getParentDir() const; // noSlash!;
TFrameId getFrame() const;
diff --git a/toonz/sources/include/tgeometry.h b/toonz/sources/include/tgeometry.h
index 9542e3eda..634ced727 100644
--- a/toonz/sources/include/tgeometry.h
+++ b/toonz/sources/include/tgeometry.h
@@ -912,7 +912,7 @@ return *this = *this * b;
};
*/
/*!
- Returns the inverse tansformation as:
+ Returns the inverse transformation as:
<p>\f$\left(\begin{array}{ccc}\bf{A}^{-1}&-\bf{A}^{-1}&\vec{b}\\\vec{0}&\vec{0}&1\end{array}\right)\f$</p>
*/
@@ -1028,7 +1028,7 @@ return TPointD(p.x*a11+p.y*a12+a13, p.x*a21+p.y*a22+a23);
TPointD transformDirection(const TPointD &p) const;
/*!
- Retruns the transformed box of the bounding box.
+ Returns the transformed box of the bounding box.
*/
TRectD operator*(const TRectD &rect) const;
diff --git a/toonz/sources/include/tiio.h b/toonz/sources/include/tiio.h
index 6c147054b..3f4085102 100644
--- a/toonz/sources/include/tiio.h
+++ b/toonz/sources/include/tiio.h
@@ -75,7 +75,7 @@ public:
}
// gamma value to be used for converting linear-based image file to nonlinear
- // raster. Curretly only used in EXR images.
+ // raster. Currently only used in EXR images.
virtual void setColorSpaceGamma(const double) {}
private:
diff --git a/toonz/sources/include/tmathutil.h b/toonz/sources/include/tmathutil.h
index 15fec88d5..91298aca2 100644
--- a/toonz/sources/include/tmathutil.h
+++ b/toonz/sources/include/tmathutil.h
@@ -73,7 +73,7 @@ DVAPI void tbackSubstitution(double *A, int n, int *indx, double *b);
/*!
Solve the system A*x=b.
It`s needed to insert b in res.
- A and res are modifyed in the routine.
+ A and res are modified in the routine.
\par A matrix
\par n size of matrix
\note A is square [n x n]
@@ -86,7 +86,7 @@ DVAPI void tsolveSistem(double *A, int n, double *res);
/*!
Solve the system A*x=b.
It`s needed to insert b in res.
- A and res are modifyed in the routine.
+ A and res are modified in the routine.
\note A is square [n x n]
\include mathutils_ex1.cpp
*/
diff --git a/toonz/sources/include/tools/tool.h b/toonz/sources/include/tools/tool.h
index 67f4dc8e7..1a5e655c7 100644
--- a/toonz/sources/include/tools/tool.h
+++ b/toonz/sources/include/tools/tool.h
@@ -305,8 +305,8 @@ public:
enum ToolHints //! Misc flags related with tool
{ HintNone = 0,
- HintAssistants = 1 << 0, //!< Draw asistants when tool active
- HintAssistantsGuidelines = 1 << 1, //!< Draw asistant guidelines
+ HintAssistants = 1 << 0, //!< Draw assistants when tool active
+ HintAssistantsGuidelines = 1 << 1, //!< Draw assistant guidelines
HintAssistantsEnabled = 1 << 2, //!< Mark active assistants
HintReplicators = 1 << 3, //!< Draw replicators
HintReplicatorsPoints = 1 << 4, //!< Draw replicated points
diff --git a/toonz/sources/include/tools/track.h b/toonz/sources/include/tools/track.h
index 2363db208..079c805c2 100644
--- a/toonz/sources/include/tools/track.h
+++ b/toonz/sources/include/tools/track.h
@@ -498,7 +498,7 @@ public:
//*****************************************************************************************
-// TTrackInterpolator implemantation
+// TTrackInterpolator implementation
//*****************************************************************************************
inline TTrackInterpolator::TTrackInterpolator(TTrack &track):
diff --git a/toonz/sources/include/toonz/hook.h b/toonz/sources/include/toonz/hook.h
index 41fbce8e8..8a97c4ad0 100644
--- a/toonz/sources/include/toonz/hook.h
+++ b/toonz/sources/include/toonz/hook.h
@@ -141,7 +141,7 @@ A Hook can be added replacing a null pointer in the Hook container with a new
Hook,
getting an empty hook or adding a new Hook at the end of the container.
-It is possible to istantiate at max HookSet::maxHooksCount hooks - beyond
+It is possible to instantiate at max HookSet::maxHooksCount hooks - beyond
which this function will return 0.
*/
Hook *addHook();
diff --git a/toonz/sources/include/toonz/ikjacobian.h b/toonz/sources/include/toonz/ikjacobian.h
index de863de7e..d71b7174d 100644
--- a/toonz/sources/include/toonz/ikjacobian.h
+++ b/toonz/sources/include/toonz/ikjacobian.h
@@ -281,7 +281,7 @@ public:
// Loads matrix in as a sub-matrix. (i,j) is the base point. Defaults to
// (0,0).
- // The "Tranpose" versions load the transpose of A.
+ // The "Transpose" versions load the transpose of A.
void LoadAsSubmatrix(const MatrixRmn &A);
void LoadAsSubmatrix(long i, long j, const MatrixRmn &A);
void LoadAsSubmatrixTranspose(const MatrixRmn &A);
diff --git a/toonz/sources/include/toonz/levelproperties.h b/toonz/sources/include/toonz/levelproperties.h
index 4d1934efe..51893f0e6 100644
--- a/toonz/sources/include/toonz/levelproperties.h
+++ b/toonz/sources/include/toonz/levelproperties.h
@@ -58,7 +58,7 @@ public:
double m_colorSpaceGamma; // gamma value to be used for converting
// linear-based image file to nonlinear raster.
- // Curretly only used in EXR image levels.
+ // Currently only used in EXR image levels.
static const double DefaultColorSpaceGamma;
@@ -164,7 +164,7 @@ public:
}
/*! \details A level is forbidden if it has been created with a
- uncompatible application version (e.g. it was created with
+ incompatible application version (e.g. it was created with
Student and loaded with Toonz). */
void setIsForbidden(
@@ -180,7 +180,7 @@ public:
image pixels are \a not already premultiplied.
\details Images with an alpha channel may or may not store pixels in
- \a premultiplied form. See the Wikipedia entry on alhpa
+ \a premultiplied form. See the Wikipedia entry on alpha
compositing for further information:
http://en.wikipedia.org/wiki/Alpha_compositing
diff --git a/toonz/sources/include/toonz/txsheet.h b/toonz/sources/include/toonz/txsheet.h
index 0df2b7f24..104dc455f 100644
--- a/toonz/sources/include/toonz/txsheet.h
+++ b/toonz/sources/include/toonz/txsheet.h
@@ -438,7 +438,7 @@ frame duplication.
*/
int exposeLevel(int row, int col, TXshLevel *xl, bool overwrite = false);
- // cutomized exposseLevel used from LoadLevel command
+ // customized exposeLevel used from LoadLevel command
int exposeLevel(int row, int col, TXshLevel *xl, std::vector<TFrameId> &fIds_,
TFrameId xFrom = TFrameId(), TFrameId xTo = TFrameId(),
int step = -1, int inc = -1, int frameCount = -1,
diff --git a/toonz/sources/include/toonz/txshlevel.h b/toonz/sources/include/toonz/txshlevel.h
index 7cee418a3..3eff55b83 100644
--- a/toonz/sources/include/toonz/txshlevel.h
+++ b/toonz/sources/include/toonz/txshlevel.h
@@ -39,7 +39,7 @@ class TXshSoundTextLevel;
The class contains all features about a generic level and gives all methods
to access to these information.
- It's possible ot know level name, getName(), or identify level types
+ It's possible to know level name, getName(), or identify level types
getType(),
defined in \b txshleveltypes.h, and change it, setType().
The class provides function to know scene to which level belongs, getScene(),
diff --git a/toonz/sources/include/toonzqt/filefield.h b/toonz/sources/include/toonzqt/filefield.h
index cffa7ceb0..713caae07 100644
--- a/toonz/sources/include/toonzqt/filefield.h
+++ b/toonz/sources/include/toonzqt/filefield.h
@@ -99,7 +99,7 @@ public:
protected slots:
/*! Open a static file dialog popup to browse and choose directories. If a
- directory is seleceted and choose, set field to this
+ directory is selected and chosen, set field to this
directory. */
// reimplemented in the "save in" filefield in CleanupSettings
virtual void browseDirectory();
diff --git a/toonz/sources/include/toonzqt/fxselection.h b/toonz/sources/include/toonzqt/fxselection.h
index 45b327881..4124f61c1 100644
--- a/toonz/sources/include/toonzqt/fxselection.h
+++ b/toonz/sources/include/toonzqt/fxselection.h
@@ -103,7 +103,7 @@ public:
void deleteSelection();
//! Copy selected fxs in the clipboard.
void copySelection();
- //! Copy selected fxs in the clipboard and alls the
+ //! Copy selected fxs in the clipboard and calls the
//! TFxCommand::deleteSelection()
//! to remove selected links or fxs.
void cutSelection();
diff --git a/toonz/sources/include/toonzqt/fxsettings.h b/toonz/sources/include/toonzqt/fxsettings.h
index efabbe7d1..9372f05d7 100644
--- a/toonz/sources/include/toonzqt/fxsettings.h
+++ b/toonz/sources/include/toonzqt/fxsettings.h
@@ -154,7 +154,7 @@ class DVAPI ParamsPageSet final : public QWidget {
/*-- ヘルプボタンで開くURL --*/
std::string m_helpUrl;
QPushButton *m_helpButton;
- // waring mark appears when the current fx does not support
+ // warning mark appears when the current fx does not support
// float / linear render settings
QLabel *m_warningMark;
diff --git a/toonz/sources/include/toonzqt/schematicnode.h b/toonz/sources/include/toonzqt/schematicnode.h
index 6a5bf6084..17303d0a5 100644
--- a/toonz/sources/include/toonzqt/schematicnode.h
+++ b/toonz/sources/include/toonzqt/schematicnode.h
@@ -304,14 +304,14 @@ protected:
//========================================================
/*!
- \brief The class provides method to draw and andle a SchematicPort.
+ \brief The class provides method to draw and handle a SchematicPort.
A SchematicPort is a child af a SchematicNode and is used to link a
parent node to other nodes. It can be an input port,
- or better , a port used to accept link coming from other node. A port
+ or better, a port used to accept link coming from other node. A port
that isn't an input port cannot accept
links but can begin to draw links.\n
- A SchematicPort has got a hook thet is a position where links starts or
+ A SchematicPort has got a hook that is a position where links starts or
ends.\n
A SchematicPort can be linked to an arbitrary number of links.
A SchematicPort handles a container of all links to retrieve all linked
diff --git a/toonz/sources/include/toonzqt/stageschematicscene.h b/toonz/sources/include/toonzqt/stageschematicscene.h
index 5b298b5ac..fc556f487 100644
--- a/toonz/sources/include/toonzqt/stageschematicscene.h
+++ b/toonz/sources/include/toonzqt/stageschematicscene.h
@@ -59,7 +59,7 @@ public:
//! Sort the children container.
//! The sorting follows this rules:\n
//! \li TableNode < CameraNode < PegbarNode < ColumnNode
- //! \li if two nodes are of the same type, they are odered using indexes
+ //! \li if two nodes are of the same type, they are ordered using indexes
void sortChildren(int startIndex, int lastIndex);
void reverseChildren() { std::reverse(m_cildren.begin(), m_cildren.end()); }
};
@@ -110,7 +110,7 @@ public:
//! Clear all item an regenerate the Stage Schematic graph.
void updateScene() override;
- //! Reurns the current node.
+ //! Returns the current node.
QGraphicsItem *getCurrentNode() override;
//! Replace all nodes in the scene.
diff --git a/toonz/sources/include/toonzqt/styleeditor.h b/toonz/sources/include/toonzqt/styleeditor.h
index cbcdc3f38..c9992f5a5 100644
--- a/toonz/sources/include/toonzqt/styleeditor.h
+++ b/toonz/sources/include/toonzqt/styleeditor.h
@@ -350,8 +350,8 @@ signals:
};
//=============================================================================
-/*! \brief The ChannelLineEdit is a cutomized version of IntLineEdit for channel
- value.
+/*! \brief The ChannelLineEdit is a cutomized version of IntLineEdit for
+ channel value.
It calls selectAll() at the moment of the first click.
*/
class ChannelLineEdit final : public DVGui::IntLineEdit {
diff --git a/toonz/sources/include/toonzqt/styleindexlineedit.h b/toonz/sources/include/toonzqt/styleindexlineedit.h
index f746286cd..58d9de487 100644
--- a/toonz/sources/include/toonzqt/styleindexlineedit.h
+++ b/toonz/sources/include/toonzqt/styleindexlineedit.h
@@ -39,6 +39,6 @@ public:
protected:
void paintEvent(QPaintEvent *pe) override;
};
-} // namspace
+} // namespace
#endif
diff --git a/toonz/sources/include/toonzqt/treemodel.h b/toonz/sources/include/toonzqt/treemodel.h
index 864747c23..1b155da85 100644
--- a/toonz/sources/include/toonzqt/treemodel.h
+++ b/toonz/sources/include/toonzqt/treemodel.h
@@ -27,7 +27,7 @@ class TreeView;
//! generic tree model. It maintains internally a tree structure
//! of TreeModel::Item's. Each QModelIndex created by the TreeModel
-//! points internally to the corrispondent TreeModel::Item
+//! points internally to the correspondent TreeModel::Item
class DVAPI TreeModel : public QAbstractItemModel {
Q_OBJECT
diff --git a/toonz/sources/include/tpersist.h b/toonz/sources/include/tpersist.h
index 055224b1d..76afd624d 100644
--- a/toonz/sources/include/tpersist.h
+++ b/toonz/sources/include/tpersist.h
@@ -92,7 +92,7 @@ public:
This class is used to store and retrieve the id associated to an
object.
\sa TPersist::getStreamTag().
- The class is istantiated by the macro PERSIST_DECLARATION(T).
+ The class is instantiated by the macro PERSIST_DECLARATION(T).
*/
class DVAPI TPersistDeclaration {
std::string m_id;
diff --git a/toonz/sources/include/trasterfx.h b/toonz/sources/include/trasterfx.h
index da379f3a5..93f6afa64 100644
--- a/toonz/sources/include/trasterfx.h
+++ b/toonz/sources/include/trasterfx.h
@@ -120,8 +120,8 @@ public:
bool m_linearColorSpace; // compute in linear color space (gamma 2.2)
- int m_maxTileSize; //!< Maximum size (in MegaBytes) of a tile cachable during
- //! a render process.
+ int m_maxTileSize; //!< Maximum size (in MegaBytes) of a tile cacheable
+ //! during a render process.
//! Used by the predictive cache manager to subdivide an fx calculation into
//! tiles. \sa TRasterFx::compute().
int m_shrinkX, //!< Required horizontal shrink. \warning Obsolete, do not
diff --git a/toonz/sources/include/trasterfxrenderdata.h b/toonz/sources/include/trasterfxrenderdata.h
index ffeca5eab..ae13845ea 100644
--- a/toonz/sources/include/trasterfxrenderdata.h
+++ b/toonz/sources/include/trasterfxrenderdata.h
@@ -29,7 +29,7 @@ public:
virtual bool operator==(const TRasterFxRenderData &data) const = 0;
virtual std::string toString() const = 0;
- //! Returns a value respresenting the type of a renderData instance. The type
+ //! Returns a value representing the type of a renderData instance. The type
//! is used to sort renderData entries for both retrieval and processing.
//! The floating return type specification is used to allow insertions between
//! two close-up values, if needed.
diff --git a/toonz/sources/include/tstroke.h b/toonz/sources/include/tstroke.h
index 19d622f73..9e9bed8a9 100644
--- a/toonz/sources/include/tstroke.h
+++ b/toonz/sources/include/tstroke.h
@@ -259,7 +259,7 @@ Return parameter for a control point
*/
double getParameterAtControlPoint(int n) const;
- //! Return the stroke leght at passed control point
+ //! Return the stroke lenght at passed control point
double getLengthAtControlPoint(int) const;
//! Freeze parameter of a stroke in last valid status
diff --git a/toonz/sources/stdfx/igs_ifx_common.h b/toonz/sources/stdfx/igs_ifx_common.h
index a0656f0ff..e0f0ae7a6 100644
--- a/toonz/sources/stdfx/igs_ifx_common.h
+++ b/toonz/sources/stdfx/igs_ifx_common.h
@@ -15,7 +15,7 @@ namespace igs {
namespace image {
#if defined RGBA_ORDER_OF_TOONZ6
// Toonz6, or GDI, TGA order
-/* Exsample:
+/* Example:
igs::image::rgba::num order = igs::image::rgba::red;
igs::image::rgb::num order = igs::image::rgba::red;
*/
diff --git a/toonz/sources/stdfx/igs_line_blur.cpp b/toonz/sources/stdfx/igs_line_blur.cpp
index dabb22dc3..308d8a173 100644
--- a/toonz/sources/stdfx/igs_line_blur.cpp
+++ b/toonz/sources/stdfx/igs_line_blur.cpp
@@ -4044,7 +4044,7 @@ int pixel_select_curve_blur_root::save(double d_xp, double d_yp,
assert(NULL != clp_loop->clp_near_point);
/* グループ(ライン)番号保存 */
- if (fprintf(fp, "# selct number %d : reverse sw is %s\n", ii,
+ if (fprintf(fp, "# select number %d : reverse sw is %s\n", ii,
(!clp_loop->i_reverse_sw ? "off" : "on")) < 0) {
pri_funct_err_bttvr("Error : fprintf(# line number %d) returns minus",
ii);
diff --git a/toonz/sources/stdfx/ino_common.cpp b/toonz/sources/stdfx/ino_common.cpp
index 0ea93e193..16a49dc86 100644
--- a/toonz/sources/stdfx/ino_common.cpp
+++ b/toonz/sources/stdfx/ino_common.cpp
@@ -411,7 +411,7 @@ TBlendForeBackRasterFx::TBlendForeBackRasterFx(bool clipping_mask,
}
enableComputeInFloat(true);
- // version 1: Gamma had been diretory specified
+ // version 1: Gamma had been directory specified
// version 2: Gamma is computed by rs.m_colorSpaceGamma + gammaAdjust
setFxVersion(2);
}
diff --git a/toonz/sources/stdfx/iwa_bokeh_util.cpp b/toonz/sources/stdfx/iwa_bokeh_util.cpp
index 79c3961b5..ab9d8f885 100644
--- a/toonz/sources/stdfx/iwa_bokeh_util.cpp
+++ b/toonz/sources/stdfx/iwa_bokeh_util.cpp
@@ -615,7 +615,7 @@ void BokehUtils::defineSegemntDepth(
histo[h].segmentId = tmpSegId;
}
- // "sub" depth segment value list for interporation
+ // "sub" depth segment value list for interpolation
for (int d = 0; d < segmentDepth_main.size() - 1; d++)
segmentDepth_sub.push_back(
(segmentDepth_main.at(d) + segmentDepth_main.at(d + 1)) / 2.0);
diff --git a/toonz/sources/stdfx/iwa_floorbumpfx.h b/toonz/sources/stdfx/iwa_floorbumpfx.h
index 3a47d514e..94cdaafd2 100644
--- a/toonz/sources/stdfx/iwa_floorbumpfx.h
+++ b/toonz/sources/stdfx/iwa_floorbumpfx.h
@@ -125,7 +125,7 @@ protected:
// Reflection mode parameter
TDoubleParamP m_distanceLevel; // the distance of the reflected object
- // specified by the postion on the surface
+ // specified by the position on the surface
// convert output values (in float4) to channel value
template <typename RASTER, typename PIXEL>
diff --git a/toonz/sources/stdfx/iwa_glarefx.cpp b/toonz/sources/stdfx/iwa_glarefx.cpp
index 9a834a68b..6cca9f07c 100644
--- a/toonz/sources/stdfx/iwa_glarefx.cpp
+++ b/toonz/sources/stdfx/iwa_glarefx.cpp
@@ -23,7 +23,7 @@
#include <QPainter>
namespace {
-// FFT coordinate -> Normal corrdinate
+// FFT coordinate -> Normal coordinate
inline int getCoord(int i, int j, int lx, int ly) {
int cx = i - lx / 2;
int cy = j - ly / 2;
diff --git a/toonz/sources/stdfx/iwa_motionblurfx.cpp b/toonz/sources/stdfx/iwa_motionblurfx.cpp
index 983de2219..3449a95e0 100644
--- a/toonz/sources/stdfx/iwa_motionblurfx.cpp
+++ b/toonz/sources/stdfx/iwa_motionblurfx.cpp
@@ -711,7 +711,7 @@ void Iwa_MotionBlurCompFx::doCompute(TTile &tile, double frame,
QList<TPointD> points = getAttributes()->getMotionPoints();
double gamma;
// The hardness value had been used inversely with the bokeh fxs.
- // Now the convertion functions are shared with the bokeh fxs,
+ // Now the conversion functions are shared with the bokeh fxs,
// so we need to change the hardness to reciprocal in order to obtain
// the same result as previous versions.
if (getFxVersion() == 1)
diff --git a/toonz/sources/stdfx/shaderfx.cpp b/toonz/sources/stdfx/shaderfx.cpp
index 22cdcd83c..4220e8adb 100644
--- a/toonz/sources/stdfx/shaderfx.cpp
+++ b/toonz/sources/stdfx/shaderfx.cpp
@@ -1044,7 +1044,7 @@ void ShaderFx::doCompute(TTile &tile, double frame,
// drawing.
// It's probably because a uniform integer variable must have already been
// bound
- // to prepare the associated sampler variable in the linkes program...
+ // to prepare the associated sampler variable in the linked program...
}
// Perform the actual fragment shading
diff --git a/toonz/sources/tnzext/ExtUtil.cpp b/toonz/sources/tnzext/ExtUtil.cpp
index 69b827491..f3f4df52c 100644
--- a/toonz/sources/tnzext/ExtUtil.cpp
+++ b/toonz/sources/tnzext/ExtUtil.cpp
@@ -11,7 +11,7 @@
#include <set>
#include <iterator>
// please do not move, it is necessary to be the last
-// to work properely with DVAPI macro
+// to work properly with DVAPI macro
#include "ext/ExtUtil.h"
// just to override assert
diff --git a/toonz/sources/tnzext/LinearPotential.cpp b/toonz/sources/tnzext/LinearPotential.cpp
index 5cbce58b9..3680ee7c0 100644
--- a/toonz/sources/tnzext/LinearPotential.cpp
+++ b/toonz/sources/tnzext/LinearPotential.cpp
@@ -70,7 +70,7 @@ double ToonzExt::LinearPotential::compute_value(double value2test) const {
if (isAlmostZero(par_) || areAlmostEqual(par_, 1.0)) tmp_al = actionLength_;
- // this is ckecked from wrapper class
+ // this is checked from wrapper class
assert(tmp_al != 0.0);
// compute correct parameter considering offset
diff --git a/toonz/sources/tnzext/StrokeDeformationImpl.cpp b/toonz/sources/tnzext/StrokeDeformationImpl.cpp
index e52036558..65ac5ee8c 100644
--- a/toonz/sources/tnzext/StrokeDeformationImpl.cpp
+++ b/toonz/sources/tnzext/StrokeDeformationImpl.cpp
@@ -431,7 +431,7 @@ bool StrokeDeformationImpl::activate_impl(const ContextStatus *status) {
TPointD pnt = stroke2manipulate_->getPoint(w);
if (tdistance2(pnt, old_w0_pos_) < sq(TConsts::epsilon)) {
- // the this position can be modifyed during drag
+ // the this position can be modified during drag
old_w0_ = w;
} else
old_w0_ = -1;
diff --git a/toonz/sources/tnzext/plasticskeletondeformation.cpp b/toonz/sources/tnzext/plasticskeletondeformation.cpp
index fecea43f8..03102e2a8 100644
--- a/toonz/sources/tnzext/plasticskeletondeformation.cpp
+++ b/toonz/sources/tnzext/plasticskeletondeformation.cpp
@@ -188,7 +188,7 @@ public:
// NOTE: There \a is a deformation even for a skeleton's root node. This is
// now required due to the
- // onwership of \a multiple skeletons at once. However, its angle and distance
+ // ownership of \a multiple skeletons at once. However, its angle and distance
// params will be unused.
public:
diff --git a/toonz/sources/tnztools/assistant.cpp b/toonz/sources/tnztools/assistant.cpp
index 10dede9ff..76924b80d 100644
--- a/toonz/sources/tnztools/assistant.cpp
+++ b/toonz/sources/tnztools/assistant.cpp
@@ -659,7 +659,7 @@ TAssistantBase::drawIndex(const TPointD &p, int index, bool selected, double pix
TPointD(x + s[0]*w - k, y + s[1]*h + d),
TPointD(x + s[2]*w - k, y + s[3]*h - d) );
} else {
- // horisontal
+ // horizontal
tglColor(colorBack);
tglDrawSegment(
TPointD(x + s[0]*w + d, y + s[1]*h + k),
diff --git a/toonz/sources/tnztools/editassistantstool.cpp b/toonz/sources/tnztools/editassistantstool.cpp
index b8d2b2987..0d4bd964d 100644
--- a/toonz/sources/tnztools/editassistantstool.cpp
+++ b/toonz/sources/tnztools/editassistantstool.cpp
@@ -457,7 +457,7 @@ protected:
struct Args {
EditAssistantsTool *owner;
Args(EditAssistantsTool &owner): owner(&owner) { }
- operator bool() const //!< declare bool-convertor here to prevent convertion path: Args->Closer->bool
+ operator bool() const //!< declare bool-convertor here to prevent conversion path: Args->Closer->bool
{ return owner && (owner->m_reader || owner->m_writer); }
void close()
{ if (owner) owner->close(); }
diff --git a/toonz/sources/tnztools/filltool.cpp b/toonz/sources/tnztools/filltool.cpp
index 148f63fa4..21575a1aa 100644
--- a/toonz/sources/tnztools/filltool.cpp
+++ b/toonz/sources/tnztools/filltool.cpp
@@ -2153,7 +2153,7 @@ void FillTool::computeRefImgsIfNeeded(const FillParameters &params) {
}
}
- // Caculate every refImg
+ // Calculate every refImg
bool fillOnlySavebox = Preferences::instance()->getFillOnlySavebox();
TPointD cameraDpi =
app->getCurrentScene()->getScene()->getCurrentCamera()->getDpi();
diff --git a/toonz/sources/tnztools/plastictool_meshedit.cpp b/toonz/sources/tnztools/plastictool_meshedit.cpp
index a7f1bb691..6124b1055 100644
--- a/toonz/sources/tnztools/plastictool_meshedit.cpp
+++ b/toonz/sources/tnztools/plastictool_meshedit.cpp
@@ -70,7 +70,7 @@ bool testCollapseEdge(const TTextureMesh &mesh, int e) {
const TTextureMesh::edge_type &m_ed;
bool testTrianglesCount() {
- // There must be at least one remanining triangle
+ // There must be at least one remaining triangle
return (m_mesh.facesCount() > m_ed.facesCount());
}
diff --git a/toonz/sources/tnztools/tool.cpp b/toonz/sources/tnztools/tool.cpp
index 6c657fc7c..a0ad399f6 100644
--- a/toonz/sources/tnztools/tool.cpp
+++ b/toonz/sources/tnztools/tool.cpp
@@ -571,7 +571,7 @@ TImage *TTool::touchImage() {
// autoCreate is enabled: we must create a new level
// select one from supported level types
- // default level type is preffered
+ // default level type is preferred
int levelType = pref->getDefLevelType();
int toolLevelType = UNKNOWN_XSHLEVEL;
bool found = false;
diff --git a/toonz/sources/tnztools/toonzvectorbrushtool.cpp b/toonz/sources/tnztools/toonzvectorbrushtool.cpp
index 4e0cce440..a7c4e838e 100644
--- a/toonz/sources/tnztools/toonzvectorbrushtool.cpp
+++ b/toonz/sources/tnztools/toonzvectorbrushtool.cpp
@@ -976,7 +976,7 @@ void ToonzVectorBrushTool::inputSetBusy(bool busy) {
}
} else
if (m_firstFrameId == getFrameId()) {
- // painted of first frame agein, so
+ // painted of first frame again, so
// just replace the remembered strokes for first frame
copyStrokes(m_firstStrokes, strokes);
m_rangeTracks = m_tracks;
diff --git a/toonz/sources/tnztools/track.cpp b/toonz/sources/tnztools/track.cpp
index 2d0df30d0..37526ff30 100644
--- a/toonz/sources/tnztools/track.cpp
+++ b/toonz/sources/tnztools/track.cpp
@@ -11,7 +11,7 @@ TTrack::Id TTrack::m_lastId = 0;
//*****************************************************************************************
-// TTrackTransform implemantation
+// TTrackTransform implementation
//*****************************************************************************************
TAffine TTrackTransform::makeTiltTransform(const TAffine &a) {
@@ -25,7 +25,7 @@ TAffine TTrackTransform::makeTiltTransform(const TAffine &a) {
//*****************************************************************************************
-// TTrackIntrOrig implemantation
+// TTrackIntrOrig implementation
//*****************************************************************************************
TTrackPoint
@@ -36,7 +36,7 @@ TTrackIntrOrig::interpolate(double index) {
//*****************************************************************************************
-// TTrack implemantation
+// TTrack implementation
//*****************************************************************************************
TTrack::TTrack(
diff --git a/toonz/sources/toonzlib/fxdag.cpp b/toonz/sources/toonzlib/fxdag.cpp
index 968865dac..e5d64115e 100644
--- a/toonz/sources/toonzlib/fxdag.cpp
+++ b/toonz/sources/toonzlib/fxdag.cpp
@@ -316,7 +316,7 @@ void FxDag::loadData(TIStream &is) {
TPersist *p = 0;
is >> p;
TFx *fx = dynamic_cast<TFx *>(p);
- if (!fx) throw TException("FxDag. unexpeced Fx");
+ if (!fx) throw TException("FxDag. unexpected Fx");
fx->addRef();
fx->setNewIdentifier();
if (tagName == "xsheet") {
@@ -332,7 +332,7 @@ void FxDag::loadData(TIStream &is) {
} else if (tagName == "grid_dimension") {
is >> m_dagGridDimension;
} else
- throw TException("FxDag. unexpeced tag: " + tagName);
+ throw TException("FxDag. unexpected tag: " + tagName);
is.closeChild();
}
}
diff --git a/toonz/sources/toonzlib/ikjacobian.cpp b/toonz/sources/toonzlib/ikjacobian.cpp
index 2df9272ac..10504a43a 100644
--- a/toonz/sources/toonzlib/ikjacobian.cpp
+++ b/toonz/sources/toonzlib/ikjacobian.cpp
@@ -527,7 +527,7 @@ void MatrixRmn::PostApplyGivens(double c, double s, long idx1, long idx2) {
// ********************************************************************************************
// Singular value decomposition.
-// Return othogonal matrices U and V and diagonal matrix with diagonal w such
+// Return orthogonal matrices U and V and diagonal matrix with diagonal w such
// that
// (this) = U * Diag(w) * V^T (V^T is V-transpose.)
// Diagonal entries have all non-zero entries before all zero entries, but are
diff --git a/toonz/sources/toonzlib/imagebuilders.cpp b/toonz/sources/toonzlib/imagebuilders.cpp
index 1827c3836..4d1b7ee74 100644
--- a/toonz/sources/toonzlib/imagebuilders.cpp
+++ b/toonz/sources/toonzlib/imagebuilders.cpp
@@ -120,7 +120,7 @@ TImageP ImageLoader::build(int imFlags, void *extData) {
double colorSpaceGamma = LevelOptions::DefaultColorSpaceGamma;
if (m_path.getType() == "exr") {
// gamma value to be used for converting linear-based image file to
- // nonlinear raster. Curretly only used in EXR image levels.
+ // nonlinear raster. Currently only used in EXR image levels.
colorSpaceGamma = data->m_sl->getProperties()->colorSpaceGamma();
ir->setColorSpaceGamma(colorSpaceGamma);
}
diff --git a/toonz/sources/toonzlib/movierenderer.cpp b/toonz/sources/toonzlib/movierenderer.cpp
index e5218a58f..af9452d68 100644
--- a/toonz/sources/toonzlib/movierenderer.cpp
+++ b/toonz/sources/toonzlib/movierenderer.cpp
@@ -163,7 +163,7 @@ public:
void addSoundtrack(int r0, int r1, double fps, int boardDuration = 0);
// writeInLinearColorSpace : Whether the format will save image in linear
- // color space. (true only in EXR fromat) writingGamma : Color space gamma to
+ // color space. (true only in EXR format) writingGamma : Color space gamma to
// be used for saving in the file ("Color Space Gamma" property in EXR format)
// renderingGamma : Color space gamma used on rendering ( "Color Space Gamma"
// value in the Render Settings )
diff --git a/toonz/sources/toonzlib/studiopalettecmd.cpp b/toonz/sources/toonzlib/studiopalettecmd.cpp
index 30628ca29..7c51a6a5b 100644
--- a/toonz/sources/toonzlib/studiopalettecmd.cpp
+++ b/toonz/sources/toonzlib/studiopalettecmd.cpp
@@ -708,7 +708,7 @@ TFilePath StudioPaletteCmd::createPalette(const TFilePath &folderName,
folderName.getParentDir());
}
// StudioPalette::setPalette() and createPalette() may throw exception on
- // saving, it will be caught in the upper functions as wel
+ // saving, it will be caught in the upper functions as well
palettePath =
StudioPalette::instance()->createPalette(folderName, paletteName);
if (palette)
diff --git a/toonz/sources/toonzlib/tcenterlineadjustments.cpp b/toonz/sources/toonzlib/tcenterlineadjustments.cpp
index b15a12b51..f4b4232a2 100644
--- a/toonz/sources/toonzlib/tcenterlineadjustments.cpp
+++ b/toonz/sources/toonzlib/tcenterlineadjustments.cpp
@@ -778,7 +778,7 @@ bool JunctionArea::calculateReconstruction() {
// EXPLANATION: We have to insure that connecting entering sequences to the
// new junction point happens *smoothly*. In order to do this, wh withdraw
-// entering sequences along the enterin road, until the angle given by the
+// entering sequences along the entering road, until the angle given by the
// connecting line and the entering direction is small.
// However, sequence pull back can be done only under some constraints:
// * we have to remain inside a road axis
diff --git a/toonz/sources/toonzlib/tcenterlineskeletonizer.cpp b/toonz/sources/toonzlib/tcenterlineskeletonizer.cpp
index 2f5b219cb..93af45196 100644
--- a/toonz/sources/toonzlib/tcenterlineskeletonizer.cpp
+++ b/toonz/sources/toonzlib/tcenterlineskeletonizer.cpp
@@ -225,7 +225,7 @@ void IndexTable::build(ContourFamily &family) {
for (i = 0; i < m_columns.size(); ++i) {
m_identifiers[i] = i;
m_columns[i].push_back(&family[i][0]);
- // Each node referenced in the Table is signed as 'head' of the cirular
+ // Each node referenced in the Table is signed as 'head' of the circular
// list.
family[i][0].setAttribute(ContourNode::HEAD);
}
@@ -308,7 +308,7 @@ struct VectorizationContext {
SkeletonGraph *m_output; // Output skeleton of input region
double m_currentHeight; // Height of our 'roof-flooding' process
Timeline m_timeline; // Ordered queue of all possible events
- unsigned int m_algoritmicTime; // Number of events precessed up to now
+ unsigned int m_algoritmicTime; // Number of events processed up to now
// Containers
std::vector<ContourEdge> m_edgesHeap;
diff --git a/toonz/sources/toonzlib/tproject.cpp b/toonz/sources/toonzlib/tproject.cpp
index 6635438b2..01e1d99c7 100644
--- a/toonz/sources/toonzlib/tproject.cpp
+++ b/toonz/sources/toonzlib/tproject.cpp
@@ -791,11 +791,11 @@ TProjectManager *TProjectManager::instance() {
}
//-------------------------------------------------------------------
-// Clear all projecs roots container.
+// Clear all projects roots container.
void TProjectManager::clearProjectsRoot() { m_projectsRoots.clear(); }
//-------------------------------------------------------------------
-/*! Adds the specified folder \b fp in the projecs roots container.\n
+/*! Adds the specified folder \b fp in the projects roots container.\n
If \b fp is already contained in the container, the method does nothing.
\note \b fp must be a folder and not a file path.*/
void TProjectManager::addProjectsRoot(const TFilePath &root) {
@@ -807,7 +807,7 @@ void TProjectManager::addProjectsRoot(const TFilePath &root) {
//-------------------------------------------------------------------
-/*! Adds the specified folder \b fp in the version control projecs roots
+/*! Adds the specified folder \b fp in the version control projects roots
container.\n
If \b fp is already contained in the container, the method does nothing.
\note \b fp must be a folder and not a file path.*/
diff --git a/toonz/sources/toonzqt/addfxcontextmenu.cpp b/toonz/sources/toonzqt/addfxcontextmenu.cpp
index 5f0ed1406..0dad6b3fb 100644
--- a/toonz/sources/toonzqt/addfxcontextmenu.cpp
+++ b/toonz/sources/toonzqt/addfxcontextmenu.cpp
@@ -608,7 +608,7 @@ void AddFxContextMenu::onFxPresetHandled() {
//---------------------------------------------------
/*! repeat the last fx creation command done in the schematic.
- arrgument "command" is sum of the ids of available commands(Insert, Add,
+ argument "command" is sum of the ids of available commands(Insert, Add,
Replace)
*/
QAction *AddFxContextMenu::getAgainCommand(int command) {
diff --git a/toonz/sources/toonzqt/colorfield.cpp b/toonz/sources/toonzqt/colorfield.cpp
index 111ddfa3b..615087857 100644
--- a/toonz/sources/toonzqt/colorfield.cpp
+++ b/toonz/sources/toonzqt/colorfield.cpp
@@ -85,8 +85,8 @@ void CommonChessboard::update() {
with a style \b TColorStyle, \b getStyle(), using setStyle().
You can pass to constructor square size.
- StyleSample permit to manage click event, it's possile to enable
- this
+ StyleSample permit to manage click event, it's possible to
+ enable this
feature setting enableClick(bool on) to true.
If it is enable when click in square class emit the signal
clicked(const TColorStyle &style).
diff --git a/toonz/sources/toonzqt/dockwidget.cpp b/toonz/sources/toonzqt/dockwidget.cpp
index fc568a3cd..131eacb07 100644
--- a/toonz/sources/toonzqt/dockwidget.cpp
+++ b/toonz/sources/toonzqt/dockwidget.cpp
@@ -487,7 +487,7 @@ void DockWidget::selectDockPlaceholder(QMouseEvent *me) {
// const int inf= 1000000;
DockPlaceholder *selected = 0;
- // Search placeholders cotaining muose position
+ // Search placeholders containing mouse position
unsigned int i;
for (i = 0; i < m_placeholders.size(); ++i) {
if (m_placeholders[i]->geometry().contains(me->globalPos())) {
diff --git a/toonz/sources/toonzqt/dvdialog.cpp b/toonz/sources/toonzqt/dvdialog.cpp
index 34059c065..09d656e54 100644
--- a/toonz/sources/toonzqt/dvdialog.cpp
+++ b/toonz/sources/toonzqt/dvdialog.cpp
@@ -181,7 +181,7 @@ objects. You can manage
directly vertical box layout, insert widget addWidget(), or
layout addLayout(), set
border and spacing, using setTopMargin() and setTopSpacing(), or
-insert a spece,
+insert a space,
addSpacing().
\n If you need an horizontal layout you can use an implemented horizontal
box layout;
diff --git a/toonz/sources/toonzqt/expressionfield.cpp b/toonz/sources/toonzqt/expressionfield.cpp
index 1676533c9..c7c46af1d 100644
--- a/toonz/sources/toonzqt/expressionfield.cpp
+++ b/toonz/sources/toonzqt/expressionfield.cpp
@@ -64,7 +64,7 @@ public:
break; // infix
case TSyntax::Parenthesis:
fmt.setForeground(QColor(50, 50, 255));
- break; // braket
+ break; // bracket
case TSyntax::Function:
fmt.setForeground(QColor(0x0, 0x50, 0x7d));
break; // fname
diff --git a/toonz/sources/toonzqt/functionpaneltools.cpp b/toonz/sources/toonzqt/functionpaneltools.cpp
index e9e8e5092..e125b93ed 100644
--- a/toonz/sources/toonzqt/functionpaneltools.cpp
+++ b/toonz/sources/toonzqt/functionpaneltools.cpp
@@ -637,7 +637,7 @@ void StretchPointDragTool::drag(QMouseEvent *e) {
}
// evaluate errors with two candidate - insert key at round down or round
- // up postions. inserting the key may push out the existing key.
+ // up positions. inserting the key may push out the existing key.
int f1 = (int)std::floor(stretchedKeyPlacement.value(info.kIndex));
int f2 = f1 + 1;
{
diff --git a/toonz/sources/toonzqt/functionsegmentviewer.cpp b/toonz/sources/toonzqt/functionsegmentviewer.cpp
index b36ddcd50..627d22c0e 100644
--- a/toonz/sources/toonzqt/functionsegmentviewer.cpp
+++ b/toonz/sources/toonzqt/functionsegmentviewer.cpp
@@ -659,7 +659,7 @@ bool FunctionExpressionSegmentPage::getGuiValues(std::string &expressionText,
FileSegmentPage::FileSegmentPage(FunctionSegmentViewer *parent)
: FunctionSegmentPage(parent) {
- // Force decoding the path since the file interporation
+ // Force decoding the path since the file interpolation
// currently accepts only absolute paths.
m_fileFld = new DVGui::FileField(this, QString(), false, false, false);
m_fileFld->setFileMode(QFileDialog::ExistingFile);
diff --git a/toonz/sources/toonzqt/gutil.cpp b/toonz/sources/toonzqt/gutil.cpp
index e8f530d7f..66745aa16 100644
--- a/toonz/sources/toonzqt/gutil.cpp
+++ b/toonz/sources/toonzqt/gutil.cpp
@@ -1197,7 +1197,7 @@ QPixmap SvgIconEngine::pixmap(const QSize &size, QIcon::Mode mode,
QPixmap renderedPm;
- //---------- Temmporary command icons by name abbreviation
+ //---------- Temporary command icons by name abbreviation
if (m_isTemporaryCommandIcon && size != menuIconPhysicalSize) {
QImage adjusted = adjustImageOpacity(colorizeBlackPixels(m_image, color),
getOpacityForModeState(mode, state));
diff --git a/toonz/sources/toonzqt/rasterimagedata.cpp b/toonz/sources/toonzqt/rasterimagedata.cpp
index def5ac4f9..b258a8411 100644
--- a/toonz/sources/toonzqt/rasterimagedata.cpp
+++ b/toonz/sources/toonzqt/rasterimagedata.cpp
@@ -45,7 +45,7 @@ TVectorImageP vectorize(const TImageP &source, const TRectD &rect,
return vi;
}
-} // namspace
+} // namespace
//===================================================================
// RasterImageData
diff --git a/toonz/sources/toonzqt/stageschematicscene.cpp b/toonz/sources/toonzqt/stageschematicscene.cpp
index 8094488ec..0c4abbaf3 100644
--- a/toonz/sources/toonzqt/stageschematicscene.cpp
+++ b/toonz/sources/toonzqt/stageschematicscene.cpp
@@ -47,7 +47,7 @@ namespace {
//! Define the method to sort a TreeStageNode container.
//! The sorting follows these rules:
//! \li TableNode < CameraNode < PegbarNode < ColumnNode
-//! \li if two nodes are of the same type, they are odered using indexes
+//! \li if two nodes are of the same type, they are ordered using indexes
class CompareNodes {
public:
bool operator()(TreeStageNode *node1, TreeStageNode *node2) {