Created GuiMarkerTimeline to display Markers again
Created helper methods in ReplayHandler to provide information about MarkerKeyframes
This commit is contained in:
@@ -390,6 +390,12 @@ public class ReplayHandler {
|
||||
selectedKeyframe = kf;
|
||||
}
|
||||
|
||||
public static boolean isSelected(MarkerKeyframe kf) {
|
||||
return kf == selectedMarkerKeyframe;
|
||||
}
|
||||
|
||||
public static void selectMarkerKeyframe(MarkerKeyframe kf) { selectedMarkerKeyframe = kf; }
|
||||
|
||||
public static boolean isInReplay() {
|
||||
return inReplay;
|
||||
}
|
||||
@@ -456,7 +462,7 @@ public class ReplayHandler {
|
||||
ReplayMod.overlay.resetUI(true);
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
// TODO: Fix exceptionsudo
|
||||
// TODO: Fix exception
|
||||
}
|
||||
|
||||
//Load lighting and trigger update
|
||||
@@ -544,6 +550,8 @@ public class ReplayHandler {
|
||||
return selectedKeyframe;
|
||||
}
|
||||
|
||||
public static MarkerKeyframe getSelectedMarkerKeyframe() { return selectedMarkerKeyframe; }
|
||||
|
||||
public static int getRealTimelineCursor() {
|
||||
return realTimelinePosition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user