From 67b4e98c9d5b46b92b0d6b14fb1030b7ae71eae0 Mon Sep 17 00:00:00 2001 From: luz paz Date: Dec 27 2021 20:06:07 +0000 Subject: Fix various typos Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,chunck,datas,forse,inbetween,inly,inout,pevent,possibile,upto` --- diff --git a/LICENSE.txt b/LICENSE.txt index 7bc1dfc..3a7332a 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 671fc5b..52f14df 100644 --- a/stuff/config/current.txt +++ b/stuff/config/current.txt @@ -1468,7 +1468,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 8ee13f6..2415f0c 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 4575a59..601f7df 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 09c8222..05360ec 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 ae66c13..5bff082 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 b30fcd1..e8f2994 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 ff0c3b4..42c7bbc 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 7877d33..4451d5e 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 6b9f5e0..9ab70b0 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 5ed14af..6f96ce3 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 67e6b72..586b1c9 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 7b0fb26..47457b5 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 748ebab..cf8d938 100644 --- a/toonz/sources/common/tvectorimage/tvectorimage.cpp +++ b/toonz/sources/common/tvectorimage/tvectorimage.cpp @@ -2586,7 +2586,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. @@ -2604,7 +2604,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/tvectorrenderer.cpp b/toonz/sources/common/tvectorrenderer.cpp index 0b4b1a3..9ab5f67 100644 --- a/toonz/sources/common/tvectorrenderer.cpp +++ b/toonz/sources/common/tvectorrenderer.cpp @@ -351,7 +351,7 @@ GLXPixmap make_pixmap(Display *dpy, Window win, unsigned int width, /* * IMPORTANT: - * Use the glXCreateGLXPixmapMESA funtion when using Mesa because + * Use the glXCreateGLXPixmapMESA function when using Mesa because * Mesa needs to know the colormap associated with a pixmap in order * to render correctly. This is because Mesa allows RGB rendering * into any kind of visual, not just TrueColor or DirectColor. diff --git a/toonz/sources/common/tvrender/tinbetween.cpp b/toonz/sources/common/tvrender/tinbetween.cpp index 6a295ef..ae94518 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/3gp/tiio_3gp_proxy.cpp b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp index 37ede93..1902418 100644 --- a/toonz/sources/image/3gp/tiio_3gp_proxy.cpp +++ b/toonz/sources/image/3gp/tiio_3gp_proxy.cpp @@ -204,7 +204,7 @@ void TLevelWriter3gp::save(const TImageP &img, int frameIndex) { } if (tipc::readMessage(stream, msg) != "ok") - throw TImageException(getFilePath(), "Couln't save image"); + throw TImageException(getFilePath(), "Couldn't save image"); } //------------------------------------------------------------------ diff --git a/toonz/sources/image/mov/tiio_movM.cpp b/toonz/sources/image/mov/tiio_movM.cpp index f61b55c..fe0ae20 100644 --- a/toonz/sources/image/mov/tiio_movM.cpp +++ b/toonz/sources/image/mov/tiio_movM.cpp @@ -63,7 +63,7 @@ public: ANCHE su altri thread) e la chiamata a TerminateQTML() causerebbe un crash */ - // std::cout << "destroing variable... Thread = " << GetCurrentThreadId() << + // std::cout << "destroying variable... Thread = " << GetCurrentThreadId() << // std::endl; // std::cout <<"~QTCleanup"<< std::endl; diff --git a/toonz/sources/image/mov/tiio_mov_proxy.cpp b/toonz/sources/image/mov/tiio_mov_proxy.cpp index 359e7cb..2622aa4 100644 --- a/toonz/sources/image/mov/tiio_mov_proxy.cpp +++ b/toonz/sources/image/mov/tiio_mov_proxy.cpp @@ -272,7 +272,7 @@ void TLevelWriterMov::save(const TImageP &img, int frameIndex) { } if (tipc::readMessage(stream, msg) != "ok") - throw TImageException(getFilePath(), "Couln't save image"); + throw TImageException(getFilePath(), "Couldn't save image"); } //------------------------------------------------------------------ diff --git a/toonz/sources/image/pli/pli_io.h b/toonz/sources/image/pli/pli_io.h index eb27ad6..3766b99 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 376c896..fb127c0 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 1a67279..52763d1 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 590f0bf..c9682f2 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 e04817a..7a4764e 100644 --- a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp +++ b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp @@ -245,7 +245,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) { @@ -405,7 +405,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, @@ -458,7 +458,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 d0b2642..c169c89 100644 --- a/toonz/sources/stdfx/iwa_fractalnoisefx.h +++ b/toonz/sources/stdfx/iwa_fractalnoisefx.h @@ -50,60 +50,60 @@ class Iwa_FractalNoiseFx final : public TStandardZeraryFx { }; protected: - // Fractal Type �t���N�^���̎�� + // Fractal Type �t���N�^���̎�� TIntEnumParamP m_fractalType; - // Noise Type �m�C�Y�̎�� + // Noise Type �m�C�Y�̎�� TIntEnumParamP m_noiseType; - // Invert ���] + // Invert ���] TBoolParamP m_invert; - /// Contrast �R���g���X�g - /// Brightness ���邳 - /// Overflow �I�[�o�[�t���[ + /// Contrast �R���g���X�g + /// Brightness ���邳 + /// Overflow �I�[�o�[�t���[ - //- - - Transform �g�����X�t�H�[�� - - - - // Rotation ��] + //- - - Transform �g�����X�t�H�[�� - - - + // Rotation ��] TDoubleParamP m_rotation; - // Uniform Scaling�@�c������Œ� + // Uniform Scaling�@�c������Œ� TBoolParamP m_uniformScaling; - // Scale �X�P�[�� + // Scale �X�P�[�� TDoubleParamP m_scale; - // Scale Width �X�P�[���̕� + // Scale Width �X�P�[���̕� TDoubleParamP m_scaleW; - // Scale Height �X�P�[���̍��� + // Scale Height �X�P�[���̍��� TDoubleParamP m_scaleH; - // Offset Turbulence ���C���̃I�t�Z�b�g + // Offset Turbulence ���C���̃I�t�Z�b�g TPointParamP m_offsetTurbulence; - // Perspective Offset ���߃I�t�Z�b�g + // Perspective Offset ���߃I�t�Z�b�g TBoolParamP m_perspectiveOffset; - // Complexity ���G�x + // Complexity ���G�x TDoubleParamP m_complexity; - //- - - Sub Settings �T�u�ݒ� - - - - // Sub Influence �T�u�e���i���j + //- - - Sub Settings �T�u�ݒ� - - - + // Sub Influence �T�u�e���i���j TDoubleParamP m_subInfluence; - // Sub Scaling�@�T�u�X�P�[�� + // Sub Scaling�@�T�u�X�P�[�� TDoubleParamP m_subScaling; - // Sub Rotation �T�u��] + // Sub Rotation �T�u��] TDoubleParamP m_subRotation; - // Sub Offset �T�u�̃I�t�Z�b�g + // Sub Offset �T�u�̃I�t�Z�b�g TPointParamP m_subOffset; - // Center Subscale �T�u�X�P�[���𒆐S + // Center Subscale �T�u�X�P�[���𒆐S /// TBoolParamP m_centerSubscale; - // Evolution �W�J + // Evolution �W�J TDoubleParamP m_evolution; - //- - - Evolution Options �W�J�̃I�v�V���� - - - - // Cycle Evolution �T�C�N���W�J + //- - - Evolution Options �W�J�̃I�v�V���� - - - + // Cycle Evolution �T�C�N���W�J TBoolParamP m_cycleEvolution; - // Cycle (in Evolution) �T�C�N���i�����j + // Cycle (in Evolution) �T�C�N���i�����j TDoubleParamP m_cycleEvolutionRange; - /// Random Seed �����_���V�[�h - /// Opacity �s�����x - /// Blending Mode �`�惂�[�h + /// Random Seed �����_���V�[�h + /// Opacity �s�����x + /// Blending Mode �`�惂�[�h - // �_�C�i�~�b�N�̓x���� + // �_�C�i�~�b�N�̓x���� TDoubleParamP m_dynamicIntensity; // - - - additional parameters - - - @@ -135,7 +135,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 2a41955..6f80fd4 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 96f74f8..0831024 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 55b9f94..5b2d639 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 8ee9aea..ccffbfb 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 610df76..ac22b39 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/toonzfarm/tfarmclient/taskstatuspage.cpp b/toonz/sources/toonzfarm/tfarmclient/taskstatuspage.cpp index 030e5e6..90eb055 100644 --- a/toonz/sources/toonzfarm/tfarmclient/taskstatuspage.cpp +++ b/toonz/sources/toonzfarm/tfarmclient/taskstatuspage.cpp @@ -455,7 +455,7 @@ TaskStatusPage::Data::Data(TaskStatusPage *parent) { m_completionDateLbl = new TLabel(parent, "completion date"); m_stepCountLbl = new TLabel(parent, "step count"); m_failedStepsLbl = new TLabel(parent, "failed steps"); - m_successfullStepsLbl = new TLabel(parent, "successfull steps"); + m_successfullStepsLbl = new TLabel(parent, "successful steps"); m_dependenciesLbl = new TLabel(parent, "dependencies"); m_taskStatusLbl = new TLabel(parent, "status"); m_scrollVBar = new TScrollbar(parent, "vscroll"); diff --git a/toonz/sources/toonzlib/preferences.cpp b/toonz/sources/toonzlib/preferences.cpp index bd02174..2e06836 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 6991a5b..1f8d69e 100644 --- a/toonz/sources/toonzlib/scenefx.cpp +++ b/toonz/sources/toonzlib/scenefx.cpp @@ -1043,11 +1043,11 @@ 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); - // 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); m_globalControlledFx.insert(fx->getFxId(), {blendFx, true}); @@ -1138,12 +1138,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 9c27655..9629974 100644 --- a/toonz/sources/toonzlib/tproject.cpp +++ b/toonz/sources/toonzlib/tproject.cpp @@ -744,7 +744,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 680ee44..437de3a 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 f9f8dcc..461e475 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 da8a22a..8587b25 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 19fea0a..c7fce71 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 091cb7d..0a13610 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 62ee5ef..83429e1 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 7cf0dd9..fa98cd1 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 0b80869..245b23e 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