GuiObjectManager now allows users to set Keyframes for Transformations

Fixed a bug in KeyframeList#getClosestKeyframeForTimestamp that made it only work with AdvancedPosition Keyframes
This commit is contained in:
CrushedPixel
2015-07-11 14:26:43 +02:00
parent 3fb0d87824
commit 28f7d77800
5 changed files with 184 additions and 33 deletions

View File

@@ -32,7 +32,7 @@ public class CustomImageObject implements GuiEntryListEntry {
@Getter private float textureWidth, textureHeight;
@Getter private Transformations transformations;
@Getter private Transformations transformations = new Transformations();
public void setLinkedAsset(UUID assetUUID) throws IOException {
ReplayAsset asset = ReplayHandler.getAssetRepository().getAssetByUUID(assetUUID);