mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed bad encoding of plugin scripts causing accented characters to display incorrectly, plugins are listed in the console when loaded, fixed error when resizing an animation will delete the frame you're currently on, fixed changes to animations persisting despite not saving them in the Animation Editor
This commit is contained in:
@@ -1016,9 +1016,9 @@ def animationEditorMain(animation)
|
||||
if Input.trigger?(Input::BACK)
|
||||
if pbConfirmMessage(_INTL("Save changes?"))
|
||||
save_data(animation,"Data/PkmnAnimations.rxdata")
|
||||
$PokemonTemp.battleAnims = nil
|
||||
end
|
||||
if pbConfirmMessage(_INTL("Exit from the editor?"))
|
||||
$PokemonTemp.battleAnims = nil
|
||||
break
|
||||
end
|
||||
end
|
||||
@@ -1113,6 +1113,10 @@ def animationEditorMain(animation)
|
||||
end
|
||||
if sliderwin.changed?(1) # Change frame count
|
||||
pbChangeMaximum(canvas)
|
||||
if canvas.currentframe >= canvas.animation.length
|
||||
canvas.currentframe = canvas.animation.length - 1
|
||||
sliderwin.controls[0].curvalue = canvas.currentframe + 1
|
||||
end
|
||||
sliderwin.refresh
|
||||
end
|
||||
if sliderwin.changed?(2) # Set Animation Sheet
|
||||
|
||||
Reference in New Issue
Block a user