Fix some VMD export issues and some other changes (#100)
* Bug fix, improved UI layout and live vocals * Bug Fixes, New Live Compatibility * Android build support * Update build.yml * Fix issues with the new version of the game * bug fix * add config button * Improve performance * Sync fork * bug fix, new uma compatibility * Add /UserSettings to gitignore * bug fix, add live characher shader control * fix compilation errors * fix compilation errors 2 * fix the live lighting calculation logic * bug fix, add editor layout settings to gitignore * bug fix, add editor layout settings to gitignore * Add time scale keys for live * live camera bug fix * add live stage control, optimize live performance * fix build error * add uma head custom * Add tiptoes rotation for VMD export * Add a save path prompt when exporting VMD files. * Remove the debug code for body dragging. * Remove unused physics components to improve performance. * Fix incorrect VMD exports for loop animations Fix VMD motion errors during repeated recordings Fix ghost bone persistence after multiple recordings * Revert "Remove unused physics components to improve performance." This reverts commit 7a1ae7f7d13d05380f9215b653d1c6719303a458. * Reapply "Remove unused physics components to improve performance." This reverts commit fe4c05f6942198864ca06e25f17a11440961040d. * fix https://github.com/katboi01/UmaViewer/issues/95 * live timescale bug fix * bug fix for skin and tail textures in live * bug fix for skin and tail textures in live (2) * fix https://github.com/katboi01/UmaViewer/issues/108 * message ui bug fix
This commit is contained in:
@@ -128,12 +128,15 @@ namespace Gallop.Live.Cutt
|
||||
double last_current_time = currentTime;
|
||||
if (timescaleKeys.thisList.Count > 0)
|
||||
{
|
||||
var has_key = false;
|
||||
// apply timescale keys
|
||||
for (int i = timescaleKeys.thisList.Count - 1; i >= 0; i--)
|
||||
{
|
||||
|
||||
var scaleKey = timescaleKeys.thisList[i];
|
||||
if (scaleKey.FrameSecond <= currentTime)
|
||||
{
|
||||
has_key = true;
|
||||
if (scaleKey.FrameSecond <= arg.FrameSecond)
|
||||
{
|
||||
interval += (last_current_time - arg.FrameSecond) * scaleKey.Timescale * arg.playSpeed;
|
||||
@@ -146,6 +149,10 @@ namespace Gallop.Live.Cutt
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!has_key)
|
||||
{
|
||||
interval = (currentTime - arg.FrameSecond) * arg.playSpeed; // no timescale keys, use default speed
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
using Gallop.Live.Cutt;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -150,6 +151,8 @@ namespace Gallop.Live
|
||||
UI = GameObject.Find("LiveUI").GetComponent<LiveViewerUI>();
|
||||
|
||||
sliderControl = UI.ProgressBar.GetComponent<SliderControl>();
|
||||
LiveViewerUI.Instance.RecordingUI.SetActive(IsRecordVMD);
|
||||
LiveViewerUI.Instance.RecordingText.text = $"¡ñ Recording...\r\n VMD will be saved in {Path.GetFullPath(Application.dataPath + UnityHumanoidVMDRecorder.FileSavePath)}";
|
||||
}
|
||||
|
||||
public void InitializeTimeline(List<LiveCharacterSelect> characters, int mode)
|
||||
|
||||
Reference in New Issue
Block a user