mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复动画问题
This commit is contained in:
parent
58e14022fe
commit
d7ff2688d1
@ -84,7 +84,7 @@ namespace VPet_Simulator.Core
|
|||||||
Picture.LoadGraph(graph, path, info);
|
Picture.LoadGraph(graph, path, info);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var paths = p.GetFiles();
|
var paths = p.GetFiles("*.png");
|
||||||
|
|
||||||
bool isLoop = info[(gbol)"loop"];
|
bool isLoop = info[(gbol)"loop"];
|
||||||
PNGAnimation pa = new PNGAnimation(graph, path.FullName, paths, new GraphInfo(path, info), isLoop);
|
PNGAnimation pa = new PNGAnimation(graph, path.FullName, paths, new GraphInfo(path, info), isLoop);
|
||||||
@ -159,7 +159,7 @@ namespace VPet_Simulator.Core
|
|||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
IsFail = true;
|
IsFail = true;
|
||||||
FailMessage =$"--PNGAnimation--{GraphInfo}--\nPath: {path}\n{e.Message}";
|
FailMessage = $"--PNGAnimation--{GraphInfo}--\nPath: {path}\n{e.Message}";
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 232 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user