From 7356a1b788579ee4495f0d97da42557cb5478e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 27 Aug 2018 13:42:13 +0200 Subject: [PATCH] SceneGraph: fix a copypaste error in an abstract implementation. Abstract transformation implementations are not used as often so there was only a minor chance somebody would hit this bug, yet it's a serious bug. Discovered by PVS-Studio, many thanks to @alexesDev for collecting the report. --- src/Magnum/SceneGraph/AbstractTranslationRotation3D.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/SceneGraph/AbstractTranslationRotation3D.h b/src/Magnum/SceneGraph/AbstractTranslationRotation3D.h index e0d7fa573..b30296010 100644 --- a/src/Magnum/SceneGraph/AbstractTranslationRotation3D.h +++ b/src/Magnum/SceneGraph/AbstractTranslationRotation3D.h @@ -125,7 +125,7 @@ template class AbstractBasicTranslationRotation3D: public AbstractBasic * more information. */ AbstractBasicTranslationRotation3D& rotateYLocal(Math::Rad angle) { - doRotateY(angle); + doRotateYLocal(angle); return *this; }