From fd1d8e7717da0e03503ef6bb535d76dd9ec3edda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 17 Apr 2012 16:20:28 +0200 Subject: [PATCH] Removed Object::setTransformationFrom(). It was confusing anyway and I can't currently think about any real use-case of this. --- src/Object.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Object.h b/src/Object.h index 99b0bac07..aa4081188 100644 --- a/src/Object.h +++ b/src/Object.h @@ -111,17 +111,6 @@ class MAGNUM_EXPORT Object { setTransformation(global ? transformation*_transformation : _transformation*transformation); } - /** - * @brief Set transformation and parent from another object - * - * Sets parent and transformation from another object, so they will - * appear in the same place. - */ - inline void setTransformationFrom(Object* another) { - setParent(another->parent()); - setTransformation(another->transformation()); - } - /** * @brief Translate object *