Skip to content

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

C

Added requested revisions

luz paze59b53a53656
diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cpp
index 1bf4cf811..9dc177db8 100644
--- a/toonz/sources/image/tzl/tiio_tzl.cpp
+++ b/toonz/sources/image/tzl/tiio_tzl.cpp
@@ -1328,7 +1328,7 @@ bool TLevelWriterTzl::resizeIcons(const TDimension &newSize) {
if (!m_chan) return false;
assert(m_version >= 13);
- // make a copy of m_path and then use it for the resizeIcons()
+ // make a copy of m_path to be able to use it for resizeIcons()
fclose(m_chan);
m_chan = 0;
TFileStatus fs(m_path);
diff --git a/toonz/sources/include/tregion.h b/toonz/sources/include/tregion.h
index 24cb53484..0decd68de 100644
--- a/toonz/sources/include/tregion.h
+++ b/toonz/sources/include/tregion.h
@@ -271,10 +271,10 @@ public:
virtual void update(const TPointD &p1, const TPointD &p2) = 0;
};
-// allows to calculate various magnitudes on the polygon of the region,
-// such as area, center of gravity, perimeter etc...
-// to use it, subclass the virtual class TRegionFeatureFormula
-// specifying the formula of the quantity to calculate.
+// allows you to calculate various measurements on the polygon
+// of the region, such as area, center of mass, perimeter...
+// to use it, you must subclass the virtual class by specifying
+// the formula of the measurement to be calculated.
void DVAPI computeRegionFeature(const TRegion &r,
TRegionFeatureFormula &formula);
diff --git a/toonz/sources/tnztools/toolutils.cpp b/toonz/sources/tnztools/toolutils.cpp
index 9fe30745f..45ebc40e4 100644
--- a/toonz/sources/tnztools/toolutils.cpp
+++ b/toonz/sources/tnztools/toolutils.cpp
@@ -1607,7 +1607,7 @@ void ToolUtils::drawBalloon(const TPointD &pos, std::string text,
pp.moveTo(x0, y - 8 * devPixRatio);
pp.lineTo(0, y + delta.y);
pp.lineTo(x0, y);
- /* rounded borders
+ /* rounded edges
int arcSize = 10;
pp.arcTo(x0,y1-arcSize,arcSize,arcSize,180,90);
pp.arcTo(x1-arcSize,y1-arcSize,arcSize,arcSize,270,90);