Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
08e9ab15
Commit
08e9ab15
authored
4 years ago
by
Pullusb
Browse files
Options
Downloads
Patches
Plain Diff
GPencil Tools: Fix timeline snapping
Fix error when trying to use snap with the OSD timeline deactivated
parent
19675aa1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
greasepencil_tools/__init__.py
+1
-1
1 addition, 1 deletion
greasepencil_tools/__init__.py
greasepencil_tools/timeline_scrub.py
+6
-0
6 additions, 0 deletions
greasepencil_tools/timeline_scrub.py
with
7 additions
and
1 deletion
greasepencil_tools/__init__.py
+
1
−
1
View file @
08e9ab15
...
...
@@ -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
"
:
""
,
...
...
This diff is collapsed.
Click to expand it.
greasepencil_tools/timeline_scrub.py
+
6
−
0
View file @
08e9ab15
...
...
@@ -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
'
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment