Skip to content

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

C

Remove assignment from assert condition

Michał Janiszewskie69068915f56
diff --git a/toonz/sources/common/tvrender/tinbetween.cpp b/toonz/sources/common/tvrender/tinbetween.cpp
index 7972d2202..d6443ad54 100644
--- a/toonz/sources/common/tvrender/tinbetween.cpp
+++ b/toonz/sources/common/tvrender/tinbetween.cpp
@@ -1290,7 +1290,7 @@ void TInbetween::Imp::computeTransformation()
}
} else {
- assert(transform.m_scaleX = transform.m_scaleY);
+ assert(transform.m_scaleX == transform.m_scaleY);
cs = transform.m_scaleX * cos(totalRadRotation);
sn = transform.m_scaleX * sin(totalRadRotation);