diff options
-rw-r--r-- | greasepencil_tools/__init__.py | 2 | ||||
-rw-r--r-- | greasepencil_tools/timeline_scrub.py | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/greasepencil_tools/__init__.py b/greasepencil_tools/__init__.py index 24b0399a..66a9f611 100644 --- a/greasepencil_tools/__init__.py +++ b/greasepencil_tools/__init__.py @@ -21,7 +21,7 @@ bl_info = { "name": "Grease Pencil Tools", "description": "Extra tools for Grease Pencil", "author": "Samuel Bernou, Antonio Vazquez, Daniel Martinez Lara, Matias Mendiola", -"version": (1, 4, 1), +"version": (1, 4, 2), "blender": (2, 91, 0), "location": "Sidebar > Grease Pencil > Grease Pencil Tools", "warning": "", diff --git a/greasepencil_tools/timeline_scrub.py b/greasepencil_tools/timeline_scrub.py index 3f69ebb9..75e2cef4 100644 --- a/greasepencil_tools/timeline_scrub.py +++ b/greasepencil_tools/timeline_scrub.py @@ -233,6 +233,12 @@ class GPTS_OT_time_scrub(bpy.types.Operator): self.hud = prefs.use_hud if not self.hud: + ## Same as end settings when HUD is On + if self.lock_range: + self.pos = [i for i in self.pos if self.f_start <= i <= self.f_end] + self.pos = np.asarray(self.pos) + if self.rolling_mode: + context.scene.frame_current = self.new_frame context.window_manager.modal_handler_add(self) return {'RUNNING_MODAL'} |