Skip to content

Commit

Permalink
improve compatibility for v8.1.2 former
Browse files Browse the repository at this point in the history
  • Loading branch information
kyouryuukunn committed Dec 22, 2023
1 parent 5b6606c commit 3aaa5b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ActionEditor.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ init python in _viewers:
from renpy.store import InvertMatrix, ContrastMatrix, SaturationMatrix, BrightnessMatrix, HueMatrix

def action_editor_version():
return "230825_1"
return "231223_1"


if check_version(23032500):
euler_slerp = renpy.display.quaternion.euler_slerp
else:
elif check_version(23030700):
euler_slerp = renpy.display.accelerator.quaternion
else:
euler_slerp = None

#z -> y -> x order roate
def rotate_matrix2(_, x, y, z):
Expand Down Expand Up @@ -1275,7 +1277,7 @@ init -1598 python in _viewers:
if in_editor:
point_to = getattr(tran, "point_to", None)
perspective = get_value("perspective", scene_keyframes[scene_num][1], True)
if perspective and (isinstance(point_to, renpy.display.transform.Camera) or (side_view and camera)):
if perspective and (check_version(23032300) and isinstance(point_to, renpy.display.transform.Camera) or (side_view and camera)):
if perspective is True:
perspective = renpy.config.perspective

Expand Down

0 comments on commit 3aaa5b9

Please sign in to comment.