sus fix for loading and saving
This commit is contained in:
parent
de31d50efa
commit
28ef28e0d8
|
|
@ -222,6 +222,7 @@ namespace HeavenStudio
|
|||
Beatmap.AddNewVolumeChange(0, 100f);
|
||||
Beatmap.data.offset = 0f;
|
||||
Conductor.instance.musicSource.clip = null;
|
||||
RiqFileHandler.UnlockCache();
|
||||
RiqFileHandler.WriteRiq(Beatmap);
|
||||
AudioLoadDone = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -380,6 +380,7 @@ namespace HeavenStudio.Editor
|
|||
{
|
||||
try
|
||||
{
|
||||
RiqFileHandler.UnlockCache();
|
||||
RiqFileHandler.WriteRiq(GameManager.instance.Beatmap);
|
||||
RiqFileHandler.PackRiq(path, true);
|
||||
Debug.Log("Packed RIQ successfully!");
|
||||
|
|
@ -430,6 +431,7 @@ namespace HeavenStudio.Editor
|
|||
|
||||
try
|
||||
{
|
||||
RiqFileHandler.UnlockCache();
|
||||
string tmpDir = RiqFileHandler.ExtractRiq(path);
|
||||
Debug.Log("Imported RIQ successfully!");
|
||||
LoadRemix();
|
||||
|
|
|
|||
|
|
@ -348,8 +348,6 @@ namespace HeavenStudio.Editor.Track
|
|||
if (songBeats == 0) songBeats = 320;
|
||||
else songBeats += 10;
|
||||
|
||||
Debug.Log("test");
|
||||
|
||||
TimelineContent.sizeDelta = new Vector2(songBeats * PixelsPerBeat, currentSizeDelta.y);
|
||||
// TimelineEventGrid.sizeDelta = new Vector2(songBeats * PixelsPerBeat, currentSizeDelta.y);
|
||||
RealTimelineContent.sizeDelta = new Vector2(TimelineContent.sizeDelta.x / Zoom, RealTimelineContent.sizeDelta.y);
|
||||
|
|
|
|||
|
|
@ -64,6 +64,8 @@ namespace HeavenStudio.Editor.Track
|
|||
|
||||
entityToSet = entity;
|
||||
Pool.Get();
|
||||
|
||||
Debug.Log(entity.datamodel);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,8 @@ using UnityEngine.UI;
|
|||
using Starpelly;
|
||||
using Jukebox;
|
||||
using TMPro;
|
||||
using UnityEngine.Timeline;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using HeavenStudio.Editor.Commands;
|
||||
|
||||
namespace HeavenStudio.Editor.Track
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue