diff --git a/src/Scene.cpp b/src/Scene.cpp index 4b3b4face..b86bb2eaa 100644 --- a/src/Scene.cpp +++ b/src/Scene.cpp @@ -55,7 +55,7 @@ void Scene::draw() { void Scene::drawChildren(AbstractObject* object, const Matrix4& transformationMatrix) { for(set::const_iterator it = object->children().begin(); it != object->children().end(); ++it) { /* Transformation matrix for the object */ - Matrix4 matrix = (*it)->transformation()*transformationMatrix; + Matrix4 matrix = transformationMatrix*(*it)->transformation(); /* Draw the object and its children */ (*it)->draw(matrix, _camera->projectionMatrix());