From aa80ac55eeea6150ff922e18fc1533b25f4eb0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 17 Aug 2012 21:57:59 +0200 Subject: [PATCH] SceneGraph: Added @todos for some Object weirdness. --- src/SceneGraph/Object.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SceneGraph/Object.cpp b/src/SceneGraph/Object.cpp index d0b56a1f6..c3831644b 100644 --- a/src/SceneGraph/Object.cpp +++ b/src/SceneGraph/Object.cpp @@ -35,6 +35,7 @@ template(this); p = p->parent(); } @@ -104,6 +105,7 @@ template ObjectType* Object::setTransformation(const MatrixType& transformation) { /* Setting transformation is forbidden for the scene */ + /** @todo Assert for this? */ if(isScene()) return static_cast(this); _transformation = transformation;