OpenToonz - An open-source full-featured 2D animation creation software
C
Follow-up to previous commit
luz paz6571328019e3
diff --git a/toonz/sources/common/trop/tantialias.cpp b/toonz/sources/common/trop/tantialias.cppindex 3ccce3bec..6ada1849a 100644--- a/toonz/sources/common/trop/tantialias.cpp+++ b/toonz/sources/common/trop/tantialias.cpp@@ -134,7 +134,7 @@ inline bool checkNeighbourHood(int x, int y, PIX *pix, int lx, int ly, int dx,// Connect by minority: if there are more pixels like those on the 00-11// diagonal, connect the other,- // and viceversa.+ // and vice versa.return count1 > count2;}}diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cppindex e375e5cc7..1bf4cf811 100644--- a/toonz/sources/image/tzl/tiio_tzl.cpp+++ b/toonz/sources/image/tzl/tiio_tzl.cpp@@ -103,13 +103,13 @@ static int tfwrite(double *data, unsigned int count, FILE *f) {namespace {-bool erasedFrame; // Vera se è stato rimosso almeno un frame.+bool erasedFrame; // True if at least one frame has been removed.bool writeVersionAndCreator(FILE *chan, const char *version, QString creator) {if (!chan) return false;tfwrite(version, strlen(version), chan);- // creator : CREATOR_LENGTH characater+ // creator : CREATOR_LENGTH characterchar s[CREATOR_LENGTH];if (creator.length() == 0) creator = "UNKNOWN";memset(s, 0, sizeof s);@@ -1206,11 +1206,11 @@ void TLevelWriterTzl::createIcon(const TImageP &imgIn, TImageP &imgOut) {if (!TRect(m_iconSize).contains(savebox)) // it should be better to use// tfloor instead of tround in the// previous lines:- // sometimes, for rounding problems, the savebox is outside 1 pixel the+ // sometimes, for rounding problems, the savebox is outside the 1 pixel// raster size.// the best solution should be to replace tround with tfloor here// and in the icon reading of tzl 1.4 (method load14),- // but this way the old 1.4 tzl are not readed correctly (crash!)+ // but this way the old 1.4 tzl are not read correctly (crash!)// so, this 'if' is a patch. vinzsavebox = savebox * TRect(m_iconSize);thumbnailRas->clearOutside(savebox);@@ -1328,7 +1328,7 @@ bool TLevelWriterTzl::resizeIcons(const TDimension &newSize) {if (!m_chan) return false;assert(m_version >= 13);- // faccio una copia di m_path per poi usarla per la resizeIcons()+ // make a copy of m_path and then use it for the resizeIcons()fclose(m_chan);m_chan = 0;TFileStatus fs(m_path);@@ -1566,7 +1566,7 @@ bool TLevelReaderTzl::getIconSize(TDimension &iconSize) {fread(&iconLx, sizeof(TINT32), 1, m_chan);fread(&iconLy, sizeof(TINT32), 1, m_chan);assert(iconLx > 0 && iconLy > 0);- // ritorno alla posizione corrente+ // return to the current positionfseek(m_chan, currentPos, SEEK_SET);iconSize = TDimension(iconLx, iconLy);return true;@@ -2054,7 +2054,7 @@ static TRect applyShrinkAndRegion(TRasterP &ras, int shrink, TRect region,if (shrink > 1) {ras = TRop::shrink(ras, shrink);}- // calcolo la nuova savebox+ // calculate the new saveboxsavebox *= region;if (savebox == TRect() || savebox.getLx() <= 0 || savebox.getLy() <= 0)return TRect();@@ -2359,7 +2359,7 @@ TImageP TImageReaderTzl::load() {ras->clear();savebox = m_region;} else {- // se sia la savebox che la regione sono vuote non faccio nulla+ // if both the savebox and the region are empty, do nothing}}ti->setCMapped(ras);diff --git a/toonz/sources/include/ext/plasticdeformerstorage.h b/toonz/sources/include/ext/plasticdeformerstorage.hindex cef230e58..a39f680d4 100644--- a/toonz/sources/include/ext/plasticdeformerstorage.h+++ b/toonz/sources/include/ext/plasticdeformerstorage.h@@ -149,7 +149,7 @@ deform-relatedCached data is uniquely associated with pairs of meshImage and deformedskeletons,meaning that the same meshImage can be deformed by multiple skeletons, and-viceversa.+vice versa.\n\nA deformer data request needs an affine transform in input, which is intendedtodiff --git a/toonz/sources/include/trenderresourcemanager.h b/toonz/sources/include/trenderresourcemanager.hindex 9b0f3da1a..bf4d91de6 100644--- a/toonz/sources/include/trenderresourcemanager.h+++ b/toonz/sources/include/trenderresourcemanager.h@@ -171,7 +171,7 @@ A variation of the MANAGER_FILESCOPE_DECLARATION macro used to declaredependencies betweenresource managers. A manager always receives start notifications \a after thosefrom which-it depends, and viceversa for end notifications. The same applies for+it depends, and vice versa for end notifications. The same applies forconstructors and destructors.\n \nThe dependencies declarations list is a sequence of static \cdiff --git a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp b/toonz/sources/stdfx/iwa_fractalnoisefx.cppindex 486170c20..57166904c 100644--- a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp+++ b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp@@ -324,7 +324,7 @@ void Iwa_FractalNoiseFx::doCompute(TTile &tile, double frame,// line of sightTPointD _p = TTranslation(tile.m_pos) * TPointD(x, y);// offset by combination of offsets of A) projection position and- // B) eye positon.+ // B) eye position.//// A) 0.5 * projection position offsetQVector3D p(_p.x - center.x * 0.5, _p.y - center.y * 0.5, 0.0);diff --git a/toonz/sources/tnztools/plastictool.cpp b/toonz/sources/tnztools/plastictool.cppindex 9787069bb..be85dcacf 100644--- a/toonz/sources/tnztools/plastictool.cpp+++ b/toonz/sources/tnztools/plastictool.cpp@@ -887,7 +887,7 @@ void PlasticTool::onColumnSwitched() {void PlasticTool::onXsheetChanged() {onColumnSwitched();TTool::updateEnabled(); // Current cell may no longer be a mesh one (or- // viceversa),+ // vice versa),} // so tool enabled status must be updated.//------------------------------------------------------------------------diff --git a/toonz/sources/toonzlib/fxcommand.cpp b/toonz/sources/toonzlib/fxcommand.cppindex e661775e5..e30a787b9 100644--- a/toonz/sources/toonzlib/fxcommand.cpp+++ b/toonz/sources/toonzlib/fxcommand.cpp@@ -3416,7 +3416,7 @@ void SetParentUndo::initialize() {if (!m_parentFx) return;// NOTE: We cannot store this directly, since it's the actual out that owns- // the actual in, not viceversa+ // the actual in, not vice versaTFx *parentFx = ::getActualIn(m_parentFx.getPointer());TXsheet *xsh = m_xshHandle->getXsheet();diff --git a/toonz/sources/toonzqt/docklayout.cpp b/toonz/sources/toonzqt/docklayout.cppindex 252199f34..c0843183f 100644--- a/toonz/sources/toonzqt/docklayout.cpp+++ b/toonz/sources/toonzqt/docklayout.cpp@@ -1172,7 +1172,7 @@ bool Region::addItemSize(DockWidget *item) {m_maximumSize[vertical] = std::min(m_maximumSize[vertical],item->getDockedMaximumSize().height());} else {- // Viceversa+ // Vice versam_minimumSize[vertical] += item->getDockedMinimumSize().height() + sepWidth;m_maximumSize[vertical] += item->getDockedMaximumSize().height() + sepWidth;@@ -1225,7 +1225,7 @@ bool Region::subItemSize(DockWidget *item) {m_maximumSize[vertical], m_childList[i]->getMaximumSize(vertical));}} else {- // Viceversa+ // Vice versam_minimumSize[vertical] -= item->minimumSize().height() + sepWidth;m_maximumSize[vertical] -= item->maximumSize().height() + sepWidth;diff --git a/toonz/sources/toonzqt/styleeditor.cpp b/toonz/sources/toonzqt/styleeditor.cppindex 654d04766..6392332e0 100644--- a/toonz/sources/toonzqt/styleeditor.cpp+++ b/toonz/sources/toonzqt/styleeditor.cpp@@ -999,7 +999,7 @@ void SquaredColorWheel::setChannel(int channel) {// ColorSlider implementation//*****************************************************************************-// Adquire size later...+// Acquire size later...int ColorSlider::s_chandle_size = -1;int ColorSlider::s_chandle_tall = -1;int ColorSlider::s_slider_appearance = -1;diff --git a/toonz/sources/translations_docs/english/MaxMinIno.tex b/toonz/sources/translations_docs/english/MaxMinIno.texindex 42e962f00..234f735e5 100644--- a/toonz/sources/translations_docs/english/MaxMinIno.tex+++ b/toonz/sources/translations_docs/english/MaxMinIno.tex@@ -39,7 +39,7 @@ Specify the processing method.\par\textquotedbl Min\textquotedbl \ -> Inflate the dark areas of the image\parWhen using \textquotedbl Min\textquotedbl , black lines in the cell image outline will be painted with 0\parin the transparent area outside them, so transparent area expands and black lines\par-dissappear.\par+disappear.\parIt also increases the region defined by the Alpha in the same way.\parThe default setting is \textquotedbl Max\textquotedbl .\\\\diff --git a/toonz/sources/translations_docs/english/WarpHVIno.tex b/toonz/sources/translations_docs/english/WarpHVIno.texindex 57538bd34..84993b32d 100644--- a/toonz/sources/translations_docs/english/WarpHVIno.tex+++ b/toonz/sources/translations_docs/english/WarpHVIno.tex@@ -29,7 +29,7 @@ Connect a reference image to distort in the vertical direction.\\\\-{-}- \ Settings \ -{-}-\\H reference\par-Allows to select which channel of the \textquotedbl Hori\textquotedbl \ image will drive the distorsion.\\+Allows to select which channel of the \textquotedbl Hori\textquotedbl \ image will drive the distortion.\\\\H MaxLen\parDistorts the picture in the horizontal direction.\par@@ -38,16 +38,16 @@ The unit is mm, values can range from 0 to 100.\parDefault value is 0, which will not make any effect.\\\par8bits Image\par-\noindent \hskip 7em \ \ \ \ 1 -MaxLen(mm) distorsion.\par+\noindent \hskip 7em \ \ \ \ 1 -MaxLen(mm) distortion.\par\noindent \hskip 7em 128 no distortion.\par-\noindent \hskip 7em 255 MaxLen(mm) distorsion.\par+\noindent \hskip 7em 255 MaxLen(mm) distortion.\par16bits Image\par-\noindent \hskip 7em \ \ \ \ \ \ \ \ 1 -MaxLen(mm) distorsion.\par+\noindent \hskip 7em \ \ \ \ \ \ \ \ 1 -MaxLen(mm) distortion.\par\noindent \hskip 7em 32768 no distortion.\par-\noindent \hskip 7em 65535 MaxLen(mm) distorsion.\\+\noindent \hskip 7em 65535 MaxLen(mm) distortion.\\\\V reference\par-Allows to select which channel of the \textquotedbl Vert\textquotedbl \ image will drive the distorsion.\\+Allows to select which channel of the \textquotedbl Vert\textquotedbl \ image will drive the distortion.\\\\V MaxLen\parDistorts the picture in the vertical direction.\par