Skip to content

Commit

Permalink
Merge pull request #17 from o-tr/master
Browse files Browse the repository at this point in the history
v0.2.14をリリース
  • Loading branch information
o-tr authored Nov 25, 2024
2 parents 03a135a + d517a5f commit d04d2a9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
Binary file modified Assets/Textures/SplashScreen/ImageSlide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Assets/Textures/SplashScreen/ImageSlideViewer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 13 additions & 2 deletions Runtime/jp.ootr.ImageSlide/Scripts/22_LogicQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,13 @@ private void RemoveSource(DataToken data)
FileNames = FileNames.Remove(index, out var removeFileNames);

if (removeFileNames != null)
{
foreach (var fileName in removeFileNames)
{
ConsoleDebug($"remove: unload texture: {sourceUrl}/{fileName}", _logicQueuePrefix);
controller.CcReleaseTexture(sourceUrl, fileName);
}
}

if (currentIndex >= slideCount && Networking.IsOwner(gameObject))
{
Expand Down Expand Up @@ -461,11 +466,17 @@ private void UpdateList(DataToken data)
ConsoleError($"sources or options not found in update list: {data}", _logicQueuePrefix);
return;
}



Sources = sources.DataList.ToStringArray();
Options = options.DataList.ToStringArray();
var fileNames = new string[Sources.Length][];

for (int i = 0; i < Sources.Length; i++)
{
fileNames[i] = controller.CcGetFileNames(Sources[i]);
}
FileNames = fileNames;

UrlsUpdated();
ProcessQueue();
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jp.ootr.image-slide",
"displayName": "ImageSlide",
"version": "0.2.13",
"version": "0.2.14",
"license": "MIT",
"unity": "2022.3",
"description": "Slide gimmick for VRChat using ImageDeviceController",
Expand Down

0 comments on commit d04d2a9

Please sign in to comment.