Fixed generic bug in MultiModel

This commit is contained in:
RainWarrior committed 2015-10-27 18:36:57 +03:00
1 parent 7c7547227c
commit a96ba1b7f7
1 file changed
+1 -1
@@ -175,7 +175,7 @@ public class MultiModel implements IModel
{
if(transforms.isEmpty()) return Pair.of(this, null);
Pair<Baked, TRSRTransformation> p = transforms.get(cameraTransformType);
return Pair.of(p.getLeft(), p.getRight().getMatrix());
return Pair.of((IBakedModel)p.getLeft(), p.getRight().getMatrix());
}
}