Skip to content

Commit

Permalink
Added preferences sync
Browse files Browse the repository at this point in the history
- Values in the addon preferences will now be used when a new file is
  created.
  • Loading branch information
aldrinmathew committed Feb 8, 2022
1 parent 949d5ce commit 034a517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stopmagic/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def register_properties() -> None:
description="Skip this many frames forwards or backwards",
subtype="NONE",
options=set(),
default=3,
default=get_preferences(__package__).frame_skip_count,
min=1,
max=2**31 - 1,
soft_min=1,
Expand All @@ -53,7 +53,7 @@ def register_properties() -> None:
name="Insert Keyframe",
description="Whether to insert keyframe after skipping frames",
options=set(),
default=False,
default=get_preferences(__package__).insert_keyframe_after_skip,
)


Expand Down

0 comments on commit 034a517

Please sign in to comment.