Fixed generic bug in MultiModel
This commit is contained in:
parent
7c7547227c
commit
a96ba1b7f7
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue