Markers are now subclasses of Keyframe
Markers can now be moved and jumped to on the Replay Timeline
This commit is contained in:
@@ -536,9 +536,7 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
|
||||
if (cam != null && pos != null) {
|
||||
// Move camera back in case we have been respawned
|
||||
if (Math.abs(pos.getX() - cam.posX) < ReplayMod.TP_DISTANCE_LIMIT && Math.abs(pos.getZ() - cam.posZ) < ReplayMod.TP_DISTANCE_LIMIT) {
|
||||
cam.moveAbsolute(pos.getX(), pos.getY(), pos.getZ());
|
||||
cam.rotationPitch = pos.getPitch();
|
||||
cam.rotationYaw = pos.getYaw();
|
||||
cam.moveAbsolute(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user