From cd6cb546f38a632209b7a509b9dccc73f2024f56 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sun, 21 Nov 2021 14:54:40 -0500 Subject: [PATCH] Fix various typos Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,chunck,datas,forse,inbetween,inly,inout,pevent,possibile,upto` --- LICENSE.txt | 2 +- stuff/config/current.txt | 2 +- .../doc/LICENSE/notice_about_modified_qt.txt | 2 +- stuff/doc/particlesFx.html | 2 +- stuff/library/shaders/readme.txt | 2 +- toonz/sources/common/tfx/tcacheresource.cpp | 2 +- toonz/sources/common/tfx/trendererP.h | 2 +- toonz/sources/common/tgeometry/tcurveutil.cpp | 2 +- toonz/sources/common/timage_io/tlevel_io.cpp | 4 +- .../tvectorimage/outlineApproximation.cpp | 4 +- .../common/tvectorimage/tl2lautocloser.cpp | 4 +- toonz/sources/common/tvectorimage/tstroke.cpp | 4 +- .../common/tvectorimage/tsweepboundary.cpp | 2 +- .../common/tvectorimage/tvectorimage.cpp | 4 +- toonz/sources/common/tvrender/tinbetween.cpp | 2 +- toonz/sources/image/pli/pli_io.h | 2 +- toonz/sources/image/pli/tiio_pli.h | 2 +- toonz/sources/image/sgi/filesgi.cpp | 10 ++-- toonz/sources/image/tif/tiio_tif.cpp | 2 +- toonz/sources/stdfx/iwa_fractalnoisefx.cpp | 6 +- toonz/sources/stdfx/iwa_fractalnoisefx.h | 60 +++++++++---------- toonz/sources/toonz/cleanupsettingsmodel.h | 2 +- toonz/sources/toonz/imageviewer.cpp | 4 +- toonz/sources/toonz/imageviewer.h | 2 +- toonz/sources/toonz/previewfxmanager.cpp | 2 +- toonz/sources/toonzfarm/tfarm/tfarmtask.cpp | 2 +- toonz/sources/toonzlib/preferences.cpp | 2 +- toonz/sources/toonzlib/scenefx.cpp | 6 +- toonz/sources/toonzlib/tproject.cpp | 2 +- toonz/sources/toonzlib/txsheetexpr.cpp | 2 +- .../translations_docs/english/DarkenIno.tex | 2 +- .../english/DarkerColorIno.tex | 2 +- .../translations_docs/english/FogIno.tex | 2 +- .../english/LevelAutoIno.tex | 2 +- .../english/LighterColorIno.tex | 2 +- .../english/MotionBlurIno.tex | 4 +- .../english/MotionWindIno.tex | 6 +- 37 files changed, 83 insertions(+), 83 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 802ac043..e953b5d7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Some of code in this repository is derived from thirdparty libralies. +Some of code in this repository is derived from thirdparty libraries. For files in the "thirdparty" directory: Please consult with the licenses in the appropriate READMEs or source codes. For files in the "stuff/library/mypaint brushes" directory: Please see the licenses in stuff/library/mypaint brushes/Licenses.txt. diff --git a/stuff/config/current.txt b/stuff/config/current.txt index d37503f3..f6fe58e8 100644 --- a/stuff/config/current.txt +++ b/stuff/config/current.txt @@ -1473,7 +1473,7 @@ "STD_iwa_RainbowFx.intensity" "Intensity" "STD_iwa_RainbowFx.width_scale" "Width Scale" "STD_iwa_RainbowFx.inside" "Inside Intensity" - "STD_iwa_RainbowFx.secondary_rainbow" "Secondary Rainbow Intesity" + "STD_iwa_RainbowFx.secondary_rainbow" "Secondary Rainbow Intensity" "STD_iwa_RainbowFx.alpha_rendering" "Alpha Rendering" diff --git a/stuff/doc/LICENSE/notice_about_modified_qt.txt b/stuff/doc/LICENSE/notice_about_modified_qt.txt index d6902053..d500bcde 100644 --- a/stuff/doc/LICENSE/notice_about_modified_qt.txt +++ b/stuff/doc/LICENSE/notice_about_modified_qt.txt @@ -48,7 +48,7 @@ ### Dependent Libraries - The attached package is built by using the following libraries / softwares. + The attached package is built by using the following libraries/software: - OpenSSL Toolkit 1.1.1j [Binary package from Shining Light Productions](https://slproweb.com/products/Win32OpenSSL.html) diff --git a/stuff/doc/particlesFx.html b/stuff/doc/particlesFx.html index 89842eac..54d24523 100644 --- a/stuff/doc/particlesFx.html +++ b/stuff/doc/particlesFx.html @@ -885,7 +885,7 @@ rt Defines the color at the moment particles are generated.
When each particle is generated, it is randomly selected from the color range specified in the spectrum.
- If a Control image is connected, the (premultiplyed) RGB values of the image will be used for chosing each particle color. + If a Control image is connected, the (premultiplyed) RGB values of the image will be used for choosing each particle color. ○ diff --git a/stuff/library/shaders/readme.txt b/stuff/library/shaders/readme.txt index 8d613200..3d65e553 100644 --- a/stuff/library/shaders/readme.txt +++ b/stuff/library/shaders/readme.txt @@ -180,7 +180,7 @@ The complete recognized file structure is as follows: float radius // Parameter declaration - // Additional Paramater attributes (can be omitted) + // Additional Parameter attributes (can be omitted) 10 // The parameter default diff --git a/toonz/sources/common/tfx/tcacheresource.cpp b/toonz/sources/common/tfx/tcacheresource.cpp index ae66c13f..5bff0825 100644 --- a/toonz/sources/common/tfx/tcacheresource.cpp +++ b/toonz/sources/common/tfx/tcacheresource.cpp @@ -111,7 +111,7 @@ with it. /*! \fn void TCacheResource::clear() Clears the whole complex. This is an overloaded method equivalent to -clear(getAvailableRegion()), supplied for convience. +clear(getAvailableRegion()), supplied for convenience. */ //==================================================================================================== diff --git a/toonz/sources/common/tfx/trendererP.h b/toonz/sources/common/tfx/trendererP.h index b30fcd13..e8f29949 100644 --- a/toonz/sources/common/tfx/trendererP.h +++ b/toonz/sources/common/tfx/trendererP.h @@ -19,7 +19,7 @@ //! \n \n //! For example, suppose that a render must be invoked upon a mousePressEvent, //! and that such event must have been completely processed before the -//! corrispondant +//! correspondent //! mouseReleaseEvent is invoked - calling the startRendering method *directly* //! by //! the mousePressEvent may cause the mouseReleaseEvent to be processed before diff --git a/toonz/sources/common/tgeometry/tcurveutil.cpp b/toonz/sources/common/tgeometry/tcurveutil.cpp index ff0c3b4d..42c7bbc4 100644 --- a/toonz/sources/common/tgeometry/tcurveutil.cpp +++ b/toonz/sources/common/tgeometry/tcurveutil.cpp @@ -478,7 +478,7 @@ This formule is derived from Graphic Gems pag. 600 e = pixel size h = step - a = acceleration of curve (for a quadratic is a costant value) + a = acceleration of curve (for a quadratic is a constant value) */ double computeStep(const TQuadratic &quad, double pixelSize) { diff --git a/toonz/sources/common/timage_io/tlevel_io.cpp b/toonz/sources/common/timage_io/tlevel_io.cpp index 7877d339..4451d5e7 100644 --- a/toonz/sources/common/timage_io/tlevel_io.cpp +++ b/toonz/sources/common/timage_io/tlevel_io.cpp @@ -351,7 +351,7 @@ void TLevelReader::define(QString extension, int reader, TLevelReaderCreateProc *proc) { LevelReaderKey key(extension, reader); LevelReaderTable[key] = proc; - // cout << "LevelReader " << extension << " registred" << endl; + // cout << "LevelReader " << extension << " registered" << endl; } //----------------------------------------------------------- @@ -360,5 +360,5 @@ void TLevelWriter::define(QString extension, TLevelWriterCreateProc *proc, bool isRenderFormat) { LevelWriterTable[extension] = std::pair(proc, isRenderFormat); - // cout << "LevelWriter " << extension << " registred" << endl; + // cout << "LevelWriter " << extension << " registered" << endl; } diff --git a/toonz/sources/common/tvectorimage/outlineApproximation.cpp b/toonz/sources/common/tvectorimage/outlineApproximation.cpp index 6b9f5e03..9ab70b01 100644 --- a/toonz/sources/common/tvectorimage/outlineApproximation.cpp +++ b/toonz/sources/common/tvectorimage/outlineApproximation.cpp @@ -41,7 +41,7 @@ namespace { e = pixel size h = step - a = acceleration of curve (for a quadratic is a costant value) + a = acceleration of curve (for a quadratic is a constant value) */ double localComputeStep(const TQuadratic &quad, double pixelSize) { double step = 2; @@ -301,7 +301,7 @@ void splitCircularArcIntoQuadraticCurves(const TPointD &Center, // 60). // It supposes that Pstart and Pend are onto the circumference (so that their // lengths - // are equal to tha radius of the circumference), otherwise the resulting + // are equal to the radius of the circumference), otherwise the resulting // curves could // be unpredictable. // The last component in quadCurve[] is an ending void curve diff --git a/toonz/sources/common/tvectorimage/tl2lautocloser.cpp b/toonz/sources/common/tvectorimage/tl2lautocloser.cpp index 5ed14af8..6f96ce36 100644 --- a/toonz/sources/common/tvectorimage/tl2lautocloser.cpp +++ b/toonz/sources/common/tvectorimage/tl2lautocloser.cpp @@ -75,7 +75,7 @@ TPointD getCurvature(TStroke *stroke, double w) { //=========================================================================== // -// A point along a stroke: ths stroke itself, pos, w,s, crv +// A point along a stroke: the stroke itself, pos, w,s, crv // struct StrokePoint { double w, s; @@ -210,7 +210,7 @@ void StrokesIntersection::update(const StrokePointSet &psa, //--------------------------------------------------------------------------- // the stroke is a self loop. the last intersection is mirrored before s=0 -// the first intersection is mirroed after s=length +// the first intersection is mirrored after s=length void StrokesIntersection::wrap(std::vector &is, TStroke *stroke) { assert(stroke->isSelfLoop()); if (!is.empty()) { diff --git a/toonz/sources/common/tvectorimage/tstroke.cpp b/toonz/sources/common/tvectorimage/tstroke.cpp index 67e6b727..586b1c9e 100644 --- a/toonz/sources/common/tvectorimage/tstroke.cpp +++ b/toonz/sources/common/tvectorimage/tstroke.cpp @@ -552,11 +552,11 @@ struct TStroke::Imp { BYTE m_flag; - //! This flag checks if changes occurs and if it is neccessary to update + //! This flag checks if changes occurs and if it is necessary to update //! length. bool m_isValidLength; - //! This flag checks if changes occurs and if it is neccessary to update + //! This flag checks if changes occurs and if it is necessary to update //! outline. bool m_isOutlineValid; diff --git a/toonz/sources/common/tvectorimage/tsweepboundary.cpp b/toonz/sources/common/tvectorimage/tsweepboundary.cpp index 7b0fb261..47457b52 100644 --- a/toonz/sources/common/tvectorimage/tsweepboundary.cpp +++ b/toonz/sources/common/tvectorimage/tsweepboundary.cpp @@ -183,7 +183,7 @@ static void splitCircularArcIntoQuadraticCurves( // 60). // It supposes that Pstart and Pend are onto the circumference (so that their // lengths - // are equal to tha radius of the circumference), otherwise the resulting + // are equal to the radius of the circumference), otherwise the resulting // curves could // be unpredictable. // The last component in quadCurve[] is an ending void curve diff --git a/toonz/sources/common/tvectorimage/tvectorimage.cpp b/toonz/sources/common/tvectorimage/tvectorimage.cpp index d0fd74f6..5eb30674 100644 --- a/toonz/sources/common/tvectorimage/tvectorimage.cpp +++ b/toonz/sources/common/tvectorimage/tvectorimage.cpp @@ -2605,7 +2605,7 @@ int TVectorImage::areDifferentGroup(UINT index1, bool isRegion1, UINT index2, //------------------------------------------------------------------- /*this method is tricky. -it is not allow to have not-adiacent strokes of same group. +it is not allow to have not-adjacent strokes of same group. but it can happen when you group some already-grouped strokes creating sub-groups. @@ -2623,7 +2623,7 @@ after grouping became: 2 not allowed! -this method moves strokes, so that adiacent strokes have same group. +this method moves strokes, so that adjacent strokes have same group. so after calling rearrangeMultiGroup the vi became: 2 2 diff --git a/toonz/sources/common/tvrender/tinbetween.cpp b/toonz/sources/common/tvrender/tinbetween.cpp index 6a295efc..ae94518a 100644 --- a/toonz/sources/common/tvrender/tinbetween.cpp +++ b/toonz/sources/common/tvrender/tinbetween.cpp @@ -179,7 +179,7 @@ static void eraseSmallAngles(std::vector> &corners, // output: // min is the minimum angle greater or equal to minDegree (i.e the minimum angle // of the corners) -// max is tha maximum angle greater or equal to minDegree +// max is the maximum angle greater or equal to minDegree static void detectCorners(const TStroke *stroke, double minDegree, std::vector> &corners, diff --git a/toonz/sources/image/pli/pli_io.h b/toonz/sources/image/pli/pli_io.h index eb27ad6f..3766b992 100644 --- a/toonz/sources/image/pli/pli_io.h +++ b/toonz/sources/image/pli/pli_io.h @@ -36,7 +36,7 @@ and for the different curves used (segments, quadratics, cubics) /*===================================================================== utility macro used to export classes from the dll -(DVAPI: Digital Video Application Progam Interface) +(DVAPI: Digital Video Application Program Interface) =====================================================================*/ /*===================================================================== diff --git a/toonz/sources/image/pli/tiio_pli.h b/toonz/sources/image/pli/tiio_pli.h index 376c8968..fb127c09 100644 --- a/toonz/sources/image/pli/tiio_pli.h +++ b/toonz/sources/image/pli/tiio_pli.h @@ -90,7 +90,7 @@ Return an image with Reader information private: bool m_init; - //! struct which contanins reference to frame + //! struct which contains reference to frame std::map m_mapOfImage; //! Reference to pli palette diff --git a/toonz/sources/image/sgi/filesgi.cpp b/toonz/sources/image/sgi/filesgi.cpp index 1a67279a..52763d14 100644 --- a/toonz/sources/image/sgi/filesgi.cpp +++ b/toonz/sources/image/sgi/filesgi.cpp @@ -514,7 +514,7 @@ static TUINT32 img_seek(IMAGERGB *image, unsigned int y, unsigned int z, (y * image->xsize + z * image->xsize * image->ysize) * BPP(image->type)); default: - cout << "img_seek: wierd dim" << endl; + cout << "img_seek: weird dim" << endl; break; } } else if (ISRLE(image->type)) { @@ -526,11 +526,11 @@ static TUINT32 img_seek(IMAGERGB *image, unsigned int y, unsigned int z, case 3: return img_optseek(image, offs + image->rowstart[y + z * image->ysize]); default: - cout << "img_seek: wierd dim" << endl; + cout << "img_seek: weird dim" << endl; break; } } else - cout << "img_seek: wierd image type" << endl; + cout << "img_seek: weird image type" << endl; return 0; } @@ -566,7 +566,7 @@ static int new_getrow(IMAGERGB *image, void *buffer, UINT y, UINT z) { return image->xsize; } default: - cout << "getrow: wierd bpp" << endl; + cout << "getrow: weird bpp" << endl; break; } } else if (ISRLE(image->type)) { @@ -818,7 +818,7 @@ static int new_putrow(IMAGERGB *image, void *buffer, UINT y, UINT z) { return image->xsize; } } else - fprintf(stderr, "putrow: wierd image type\n"); + fprintf(stderr, "putrow: weird image type\n"); return -1; } diff --git a/toonz/sources/image/tif/tiio_tif.cpp b/toonz/sources/image/tif/tiio_tif.cpp index c45ed4b0..8297f063 100644 --- a/toonz/sources/image/tif/tiio_tif.cpp +++ b/toonz/sources/image/tif/tiio_tif.cpp @@ -1049,7 +1049,7 @@ void TifWriter::writeLine(char *buffer) { //============================================================ #ifdef _DEBUG -/* Error & Waring Handler per debug */ +/* Error & Warning Handler per debug */ extern "C" { static void MyWarningHandler(const char *module, const char *fmt, va_list ap) { diff --git a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp index 63cdb797..c694f241 100644 --- a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp +++ b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp @@ -425,7 +425,7 @@ void Iwa_FractalNoiseFx::doCompute(TTile &tile, double frame, work_buf_ras->unlock(); - // finalize pattern (coverting the color space) + // finalize pattern (converting the color space) if (param.fractalType == TurbulentSmooth || param.fractalType == TurbulentBasic || param.fractalType == TurbulentSharp) { @@ -605,7 +605,7 @@ void Iwa_FractalNoiseFx::convert(double *buf, const FNParam ¶m) { *buf = std::abs(*buf - 0.5) * 1.96; break; case Rocky: - // convertion LUT for the range from 0.43 to 0.57, every 0.01 + // conversion LUT for the range from 0.43 to 0.57, every 0.01 static double table[15] = { 0.25, 0.256658635, 0.275550218, 0.30569519, 0.345275591, 0.392513494, 0.440512, 0.5, 0.555085147, 0.607486506, @@ -658,7 +658,7 @@ void Iwa_FractalNoiseFx::composite(double *out, double *buf, } //------------------------------------------------------------------ -// finalize pattern (coverting the color space) +// finalize pattern (converting the color space) void Iwa_FractalNoiseFx::finalize(double *out, const FNParam ¶m) { assert(param.fractalType == TurbulentSmooth || param.fractalType == TurbulentBasic || diff --git a/toonz/sources/stdfx/iwa_fractalnoisefx.h b/toonz/sources/stdfx/iwa_fractalnoisefx.h index 652fa18e..6c8572a3 100644 --- a/toonz/sources/stdfx/iwa_fractalnoisefx.h +++ b/toonz/sources/stdfx/iwa_fractalnoisefx.h @@ -57,60 +57,60 @@ class Iwa_FractalNoiseFx final : public TStandardZeraryFx { }; protected: - // Fractal Type tN^̎ + // Fractal Type �t���N�^���̎�� TIntEnumParamP m_fractalType; - // Noise Type mCY̎ + // Noise Type �m�C�Y�̎�� TIntEnumParamP m_noiseType; - // Invert ] + // Invert ���] TBoolParamP m_invert; - /// Contrast RgXg - /// Brightness 邳 - /// Overflow I[o[t[ + /// Contrast �R���g���X�g + /// Brightness ���邳 + /// Overflow �I�[�o�[�t���[ - //- - - Transform gXtH[ - - - - // Rotation ] + //- - - Transform �g�����X�t�H�[�� - - - + // Rotation ��] TDoubleParamP m_rotation; - // Uniform Scaling@cŒ + // Uniform Scaling�@�c������Œ� TBoolParamP m_uniformScaling; - // Scale XP[ + // Scale �X�P�[�� TDoubleParamP m_scale; - // Scale Width XP[̕ + // Scale Width �X�P�[���̕� TDoubleParamP m_scaleW; - // Scale Height XP[̍ + // Scale Height �X�P�[���̍��� TDoubleParamP m_scaleH; - // Offset Turbulence C̃ItZbg + // Offset Turbulence ���C���̃I�t�Z�b�g TPointParamP m_offsetTurbulence; - // Perspective Offset ߃ItZbg + // Perspective Offset ���߃I�t�Z�b�g TBoolParamP m_perspectiveOffset; - // Complexity Gx + // Complexity ���G�x TDoubleParamP m_complexity; - //- - - Sub Settings Tuݒ - - - - // Sub Influence Tueij + //- - - Sub Settings �T�u�ݒ� - - - + // Sub Influence �T�u�e���i���j TDoubleParamP m_subInfluence; - // Sub Scaling@TuXP[ + // Sub Scaling�@�T�u�X�P�[�� TDoubleParamP m_subScaling; - // Sub Rotation Tu] + // Sub Rotation �T�u��] TDoubleParamP m_subRotation; - // Sub Offset TũItZbg + // Sub Offset �T�u�̃I�t�Z�b�g TPointParamP m_subOffset; - // Center Subscale TuXP[𒆐S + // Center Subscale �T�u�X�P�[���𒆐S /// TBoolParamP m_centerSubscale; - // Evolution WJ + // Evolution �W�J TDoubleParamP m_evolution; - //- - - Evolution Options WJ̃IvV - - - - // Cycle Evolution TCNWJ + //- - - Evolution Options �W�J�̃I�v�V���� - - - + // Cycle Evolution �T�C�N���W�J TBoolParamP m_cycleEvolution; - // Cycle (in Evolution) TCNij + // Cycle (in Evolution) �T�C�N���i�����j TDoubleParamP m_cycleEvolutionRange; - /// Random Seed _V[h - /// Opacity sx - /// Blending Mode `惂[h + /// Random Seed �����_���V�[�h + /// Opacity �s�����x + /// Blending Mode �`�惂�[�h - // _Ci~bN̓x + // �_�C�i�~�b�N�̓x���� TDoubleParamP m_dynamicIntensity; //- - - Conical Noise - - - @@ -149,7 +149,7 @@ public: // composite the base noise pattern void composite(double *out, double *buf, const double influence, const FNParam ¶m); - // finalize pattern (coverting the color space) + // finalize pattern (converting the color space) void finalize(double *out, const FNParam ¶m); }; diff --git a/toonz/sources/toonz/cleanupsettingsmodel.h b/toonz/sources/toonz/cleanupsettingsmodel.h index 2a419556..6f80fd4a 100644 --- a/toonz/sources/toonz/cleanupsettingsmodel.h +++ b/toonz/sources/toonz/cleanupsettingsmodel.h @@ -56,7 +56,7 @@ sufficiently colors recognition, colors adjustment, despeckling <\I> and \a antialiasing-related effects. -\note This class also acts as a wrapper to CleanupParamaters' palette, attaching +\note This class also acts as a wrapper to CleanupParameters' palette, attaching to the "current cleanup palette handle" accessible through the TPaletteController. diff --git a/toonz/sources/toonz/imageviewer.cpp b/toonz/sources/toonz/imageviewer.cpp index f25f5980..e36802db 100644 --- a/toonz/sources/toonz/imageviewer.cpp +++ b/toonz/sources/toonz/imageviewer.cpp @@ -663,7 +663,7 @@ void ImageViewer::paintGL() { } //------------------------------------------------------------------------------ -/*! Add to current transformation matrix a \b delta traslation. +/*! Add to current transformation matrix a \b delta translation. */ void ImageViewer::panQt(const QPoint &delta) { if (delta == QPoint()) return; @@ -695,7 +695,7 @@ void ImageViewer::panQt(const QPoint &delta) { } //----------------------------------------------------------------------------- -/*! Add to current transformation matrix a \b center traslation matched with a +/*! Add to current transformation matrix a \b center translation matched with a scale of factor \b factor. Apply a zoom of factor \b factor with center \b center. diff --git a/toonz/sources/toonz/imageviewer.h b/toonz/sources/toonz/imageviewer.h index 8c6f0436..4d5ee160 100644 --- a/toonz/sources/toonz/imageviewer.h +++ b/toonz/sources/toonz/imageviewer.h @@ -39,7 +39,7 @@ class ImageViewer final : public GLWidgetForHighDpi { FlipBook *m_flipbook; TPoint m_pressedMousePos; - // Modifying rect-picking positon offset for vector image. + // Modifying rect-picking position offset for vector image. // For unknown reasons, glReadPixels is covering the entire window not the // OpenGL widget. TPointD m_winPosMousePosOffset; diff --git a/toonz/sources/toonz/previewfxmanager.cpp b/toonz/sources/toonz/previewfxmanager.cpp index 8ee9aea2..ccffbfbc 100644 --- a/toonz/sources/toonz/previewfxmanager.cpp +++ b/toonz/sources/toonz/previewfxmanager.cpp @@ -1070,7 +1070,7 @@ void PreviewFxInstance::doOnRenderRasterCompleted( /*-- 16bpcで計算された場合、結果をDitheringする --*/ TRasterP rasA = renderData.m_rasA; TRasterP rasB = renderData.m_rasB; - // dither the 16bpc image IF the "30bit display" prefernce option is OFF + // dither the 16bpc image IF the "30bit display" preference option is OFF if (rasA->getPixelSize() == 8 && !Preferences::instance()->is30bitDisplayEnabled()) // render in 64 bits { diff --git a/toonz/sources/toonzfarm/tfarm/tfarmtask.cpp b/toonz/sources/toonzfarm/tfarm/tfarmtask.cpp index 610df76a..ac22b397 100644 --- a/toonz/sources/toonzfarm/tfarm/tfarmtask.cpp +++ b/toonz/sources/toonzfarm/tfarm/tfarmtask.cpp @@ -26,7 +26,7 @@ using namespace TVER; #include // inet_ntoa #else // these were included for OSX, i'm not sure if they are required for linux or -// not? leaving them in as linux was building sucessfully already. damies13 - +// not? leaving them in as linux was building successfully already. damies13 - // 2017-04-15. #include // gethostbyname #include // inet_ntoa diff --git a/toonz/sources/toonzlib/preferences.cpp b/toonz/sources/toonzlib/preferences.cpp index 35942a06..55770909 100644 --- a/toonz/sources/toonzlib/preferences.cpp +++ b/toonz/sources/toonzlib/preferences.cpp @@ -206,7 +206,7 @@ void getValue(QSettings &settings, (*it).m_options.m_premultiply == true) { LevelOptions defaultValue; defaultValue.m_premultiply = true; - // if other parameters are the same as deafault, just erase the item + // if other parameters are the same as default, just erase the item if ((*it).m_options == defaultValue) it = lfv.erase(it); // if there are some adjustments by user, then disable only premultiply // option diff --git a/toonz/sources/toonzlib/scenefx.cpp b/toonz/sources/toonzlib/scenefx.cpp index 0bd916ee..6bac95c5 100644 --- a/toonz/sources/toonzlib/scenefx.cpp +++ b/toonz/sources/toonzlib/scenefx.cpp @@ -1088,7 +1088,7 @@ PlacedFx FxBuilder::makePFfromUnaryFx(TFx *fx) { GlobalControllableFx *gcFx = dynamic_cast(fx); double val = gcFx->getGrobalControlValue(m_frame); if (val < 1.0) { - // insert cross disolve fx and mix with the input fx + // insert cross dissolve fx and mix with the input fx TFxP blendFx = TFx::create("blendFx"); blendFx->connect("Source1", fx); blendFx->connect("Source2", inputFx); @@ -1183,12 +1183,12 @@ PlacedFx FxBuilder::makePFfromGenericFx(TFx *fx) { if (val < 1.0) { TFxP inputFx = fx->getInputPort(fx->getPreferredInputPort())->getFx(); if (!inputFx) return pf; - // insert cross disolve fx and mix with the input fx + // insert cross dissolve fx and mix with the input fx TFxP blendFx = TFx::create("blendFx"); blendFx->connect("Source1", fx); blendFx->connect("Source2", inputFx.getPointer()); m_globalControlledFx.insert(fx->getFxId(), {blendFx, true}); - // set the global intensity value to the cross disolve fx + // set the global intensity value to the cross dissolve fx dynamic_cast(blendFx->getParams()->getParam("value")) ->setDefaultValue(val * 100.0); return makePF(blendFx.getPointer()); diff --git a/toonz/sources/toonzlib/tproject.cpp b/toonz/sources/toonzlib/tproject.cpp index 0cbefbab..96bc3bd6 100644 --- a/toonz/sources/toonzlib/tproject.cpp +++ b/toonz/sources/toonzlib/tproject.cpp @@ -801,7 +801,7 @@ public: It is possible to handle more than one project root. The class maintains a container this purpose. All the projects roots - must be set by hand in the windows registery. By default, only one project + must be set by hand in the windows registry. By default, only one project root is created when toonz is installed.\n The project root container can be updated using addProjectsRoot(const TFilePath &root), addDefaultProjectsRoot() methods. diff --git a/toonz/sources/toonzlib/txsheetexpr.cpp b/toonz/sources/toonzlib/txsheetexpr.cpp index fd6db8f2..16c4efd2 100644 --- a/toonz/sources/toonzlib/txsheetexpr.cpp +++ b/toonz/sources/toonzlib/txsheetexpr.cpp @@ -425,7 +425,7 @@ public: return param; // in case the parameter has ui label - // ( paramters of plugin fxs and intensity of GlobalControllableFx) + // ( parameters of plugin fxs and intensity of GlobalControllableFx) if (param->hasUILabel()) { paramName = param->getUILabel(); int i = paramName.find_first_of(" -"); diff --git a/toonz/sources/translations_docs/english/DarkenIno.tex b/toonz/sources/translations_docs/english/DarkenIno.tex index f9f8dcc0..461e4753 100644 --- a/toonz/sources/translations_docs/english/DarkenIno.tex +++ b/toonz/sources/translations_docs/english/DarkenIno.tex @@ -19,7 +19,7 @@ Darken Ino\medskip \normalsize Darkens the image.\par Makes the resulting image color darker by comparing the Fore and Back RGB values\par -and chosing the smaller ones (Performed separately on each channel).\\ +and choosing the smaller ones (Performed separately on each channel).\\ \\ -{-}- \ Inputs \ -{-}-\par When both input ports are connected, they will be combined in the process.\par diff --git a/toonz/sources/translations_docs/english/DarkerColorIno.tex b/toonz/sources/translations_docs/english/DarkerColorIno.tex index da8a22a4..8587b250 100644 --- a/toonz/sources/translations_docs/english/DarkerColorIno.tex +++ b/toonz/sources/translations_docs/english/DarkerColorIno.tex @@ -19,7 +19,7 @@ Darker Color Ino\medskip \normalsize Darkens the image.\par Makes the resulting image color darker by comparing the Fore and Back RGB\par -luminance values and chosing the smaller one.\\ +luminance values and choosing the smaller one.\\ \\ -{-}- \ Inputs \ -{-}-\par When both input ports are connected, they will be combined in the process.\par diff --git a/toonz/sources/translations_docs/english/FogIno.tex b/toonz/sources/translations_docs/english/FogIno.tex index 19fea0af..c7fce712 100644 --- a/toonz/sources/translations_docs/english/FogIno.tex +++ b/toonz/sources/translations_docs/english/FogIno.tex @@ -64,7 +64,7 @@ The default value is 1. \ \vspace{-0.2em} \par \noindent Power\par -Changes the intesity of the light.\par +Changes the intensity of the light.\par Specify a value in the range 0 to 1.\par It is possible to specify values above 1.0, up to a maximum 2.0, to emphasize the\par light.\par diff --git a/toonz/sources/translations_docs/english/LevelAutoIno.tex b/toonz/sources/translations_docs/english/LevelAutoIno.tex index 091cb7d7..0a136101 100644 --- a/toonz/sources/translations_docs/english/LevelAutoIno.tex +++ b/toonz/sources/translations_docs/english/LevelAutoIno.tex @@ -24,7 +24,7 @@ Level Auto Ino\medskip Spread the brightness range of the picture.\\ \par It performs an automatic level correction, useful for increasing the image\par -brightness and constrast.\\ +brightness and contrast.\\ \par Based on the brightest and darkest values of the input image, the brightness\par range is expanded to the darkest (Out Min) and brightest (Out Max) values.\par diff --git a/toonz/sources/translations_docs/english/LighterColorIno.tex b/toonz/sources/translations_docs/english/LighterColorIno.tex index 62ee5efe..83429e1e 100644 --- a/toonz/sources/translations_docs/english/LighterColorIno.tex +++ b/toonz/sources/translations_docs/english/LighterColorIno.tex @@ -19,7 +19,7 @@ Lighter Color Ino\medskip \normalsize Lightens the image.\par Makes the resulting image color brighter by comparing the Fore and Back RGB\par -luminance values and chosing the bigger one.\\ +luminance values and choosing the bigger one.\\ \\ -{-}- \ Inputs \ -{-}-\par When both input ports are connected, they will be combined in the process.\par diff --git a/toonz/sources/translations_docs/english/MotionBlurIno.tex b/toonz/sources/translations_docs/english/MotionBlurIno.tex index ac13633c..41bdee58 100644 --- a/toonz/sources/translations_docs/english/MotionBlurIno.tex +++ b/toonz/sources/translations_docs/english/MotionBlurIno.tex @@ -76,13 +76,13 @@ When Scale is 0, blur will not be applied.\par The default value is 1, which will apply no scaling.\\ \\ Curve\par -Allows to adjust the blur strenght.\par +Allows to adjust the blur strength.\par With a value between 1.0 and 10.0, blur will become stronger.\par With a value between 0.1 and 1.0, blur will become lighter.\par The default value is 1, which will produce an linear attenuation.\\ \\ Afterimage Length\par -Specify the lenght of the afterimage effect.\par +Specify the length of the afterimage effect.\par The unit is millimeters.\par Specify a value greater than or equal to 0.\par For example, to create an afterimage for a line with a width of 3,\par diff --git a/toonz/sources/translations_docs/english/MotionWindIno.tex b/toonz/sources/translations_docs/english/MotionWindIno.tex index 0b80869d..245b23ef 100644 --- a/toonz/sources/translations_docs/english/MotionWindIno.tex +++ b/toonz/sources/translations_docs/english/MotionWindIno.tex @@ -63,7 +63,7 @@ Specify the length of the motion lines.\par The unit is millimeters.\par Specify a value in the range from 0 to 1000.\par Decimal places are also taken into account, for subtle changes in the length.\par -If Min and Max are different, the lenght of each motion line will be random, between\par +If Min and Max are different, the length of each motion line will be random, between\par those values. \newpage @@ -72,7 +72,7 @@ those values. \ \vspace{-0.2em} \par -When Min and Max are the same, all motion lines will have the same lenght.\par +When Min and Max are the same, all motion lines will have the same length.\par The default value for Min is 0, and Max is 8.573.\par -{-}> See \textquotedbl Figure 1:\ \ Length Wind\textquotedbl \ .\par -{-}> See \textquotedbl Figure 4:\ \ Force is 1 and Density is 1\textquotedbl \ .\par @@ -172,7 +172,7 @@ Using different values will produce different patterns for each parameter.\\ To fix a random pattern when the camera is moving:\par When moving the camera over a background image, the random pattern changes\par on each frame according to the change of the picture.\par -To fix the pattern the entire backgroung image must be processed.\\ +To fix the pattern the entire background image must be processed.\\ -{-}-{-}-{-}\\ \\ Length Ref\par