Fixed generic bug in MultiModel

This commit is contained in:
RainWarrior 2015-10-27 18:36:42 +03:00
parent 7c7547227c
commit a96ba1b7f7
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}