Fix incorrect rotation when jumping to marker (fixes #310)
This commit is contained in:
@@ -173,7 +173,7 @@ public class GuiMarkerTimeline extends AbstractGuiTimeline<GuiMarkerTimeline> im
|
|||||||
if (cameraEntity != null) {
|
if (cameraEntity != null) {
|
||||||
cameraEntity.setCameraPosRot(new Location(
|
cameraEntity.setCameraPosRot(new Location(
|
||||||
marker.getX(), marker.getY(), marker.getZ(),
|
marker.getX(), marker.getY(), marker.getZ(),
|
||||||
marker.getPitch(), marker.getYaw()
|
marker.getYaw(), marker.getPitch()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
replayHandler.doJump(marker.getTime(), true);
|
replayHandler.doJump(marker.getTime(), true);
|
||||||
|
|||||||
Reference in New Issue
Block a user