From a92778d557df8bc853153d119224ea28390bdc9a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 3 Dec 2010 11:23:34 +0000 Subject: Corrected bounding box on models with rotated submodels. --- src/render/draw.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/render') diff --git a/src/render/draw.cc b/src/render/draw.cc index 6f97e99..30271f5 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -609,7 +609,6 @@ void draw_model_fragments(model::Model *model, const float rotation_angle = math::degrees360f((group->engine() ? enginetime : core::application()->time()) * group->speed()); gl::rotate(-rotation_angle, group->axis().forward()); } else { - // FIXME group origin is lost gl::multmatrix(group->axis()); } -- cgit v1.2.3