GPencil: framechanging does not evaluate keyframed layer transform correctly (if this would result in identity matrix) #101164
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#101164
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: MacOs 12.6
Graphics card: M1
Blender Version
Broken: 3.4.0 (3.4.0 2022-09-17)
Worked: ?
Short description of error
When animating Grease Pencil Transforms in Stroke Properties, there is a refresh problem (it doesn't refresh) when going back to first frame of animation using Jump to first frame ...
Workaround seems to be clicking a keyframe in the Dopesheet.
Exact steps for others to reproduce the error
Jump to Previous keyframe
button from timeline header(notice viewport doesn't update. Clicking anywhere in dopsheet later updates the viewport)
Kapture 2022-09-18 at 12.59.55.mp4
AnimatedGP_Transform_Refresh_Bug.blend
Seems to only be the case with exactly 0° rotation?
If I change the first rotation keyframe to have a value of 1°, this all of a sudden seems to work fine:
AnimatedGP_Transform_Refresh_Bug_repro.blend
going to / going from zero rotation goes wrong:
gpencil_layer_transform_zero_rotation_.blend
Added subscriber: @Pyer
#101325 was marked as duplicate of this issue
Added subscriber: @antoniov
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @PratikPB2123
Added subscriber: @amelief
I am not sure I understand the issue.
If the issue is that we cannot see the keyframes in the dopesheet, that is because the dopesheet is in 'Grease Pencil' mode, and thus only displaying layer keyframes (meaning drawn keyframes, and not transform or gpencil data keyframes). If you switch to the standard mode of the dopesheet, you can see that the keyframes are correctly created.
Hello! The issue is that when animating a Grease Pencil Transform, when you press the Icon to go to the first frame of the animation (or jump to previous/next key) the viewport does not refresh the animated GP transform (timecode 00:17 in the video).
It refreshes the viewport when you click anywhere in the Dopesheet window (GP or normal).
Animated GreasePencil transform refresh bugto GPencil: Jump to previous keyframe doesn't update the viewport for transform propertiesAdded subscriber: @lichtwerk
Jumping to next seems to go fine on my side.
Could it be that this is only the case with exactly 0° rotation?
If I change the first rotation keyframe to have a value of 1°, this all of a sudden seems to work fine:
AnimatedGP_Transform_Refresh_Bug_repro.blend
@lichtwerk
Haha you're right!! So weird!!!
So this is true for all framechanging (mouse, frame offset, frame jump, ..)
Seems like greasepencil is just not evaluating right for zero rotation keyframes
GPencil: Jump to previous keyframe doesn't update the viewport for transform propertiesto GPencil: framechanging does not evaluate keyframed layer transform rotation of exactly zero degrees correctly@lichtwerk
Oh wait it actually does the same thing with Location, you have to put a different value than zero for it to refresh correctly...
Scaling seems to be ok.
Ah, there are (optimization checks for this in
BKE_gpencil_prepare_eval_data
&BKE_gpencil_update_layer_transforms
Will check on a fix
GPencil: framechanging does not evaluate keyframed layer transform rotation of exactly zero degrees correctlyto GPencil: framechanging does not evaluate keyframed layer transform correctly (if this would result in identity matrix)This issue was referenced by
dfcc8086fb
This issue was referenced by
24814a03b7
This issue was referenced by
1cbfe04638
@lichtwerk Hello and sorry for asking, but is this going to be published to master at some point? I'm still not seeing it in the recent nightly builds. Thanks :)
Probably soonish (just waiting for a second pair of eyes)
Added subscriber: @miya
Changed status from 'Confirmed' to: 'Resolved'