From 881f07ec7688c8244b2c5e272e954018d460af0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 17 Aug 2012 23:38:52 +0200 Subject: [PATCH] Added Object2D::move() to manage 2D stacking order. --- src/SceneGraph/Object.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/SceneGraph/Object.h b/src/SceneGraph/Object.h index de69e990a..23c3e2a37 100644 --- a/src/SceneGraph/Object.h +++ b/src/SceneGraph/Object.h @@ -299,6 +299,16 @@ class SCENEGRAPH_EXPORT Object2D: public ObjectCorrade::Containers::DoubleLinkedList::move(this, under); + return this; + } }; /** @brief Three-dimensional object */