Animation: Auto frame curves Y extents when hitting normalize #105857

Merged
Christoph Lendenfeld merged 11 commits from ChrisLend/blender:normalize_set_range into main 2023-03-30 10:01:24 +02:00

When hitting the "normalize" button in the graph editor, set the y extents of the view to the extents of the FCurves.
Previously you had to search for your curves after pressing that button.


this was kind of brought up in the papercuts when someone linked this video: https://www.youtube.com/watch?v=L-vLraYGir8

It has been discussed in the A&R meeting that this will always be enabled instead of being a user preference. https://devtalk.blender.org/t/2023-03-23-animation-rigging-module-meeting/28313

When hitting the "normalize" button in the graph editor, set the y extents of the view to the extents of the `FCurves`. Previously you had to search for your curves after pressing that button. ------ this was kind of brought up in the papercuts when someone linked this video: https://www.youtube.com/watch?v=L-vLraYGir8 It has been discussed in the A&R meeting that this will always be enabled instead of being a user preference. https://devtalk.blender.org/t/2023-03-23-animation-rigging-module-meeting/28313
Christoph Lendenfeld added the
Module
Animation & Rigging
label 2023-03-17 17:40:53 +01:00
Christoph Lendenfeld added 6 commits 2023-03-17 17:41:02 +01:00
Christoph Lendenfeld requested review from Sybren A. Stüvel 2023-03-17 17:41:27 +01:00
Christoph Lendenfeld added this to the Animation & Rigging project 2023-03-17 17:41:36 +01:00
Christoph Lendenfeld added 1 commit 2023-03-17 17:43:32 +01:00
Author
Member

demo video

demo video

I think this is a nice addition, I've had the same kind of confusion myself. After going to 'normalized' view, I expected to see the FCurves.

It would help to have this split up into two patches. Or just commit the non-functional change, as it's not that important to have that reviewed, and then rebase this patch on top of that.

I think this is a nice addition, I've had the same kind of confusion myself. After going to 'normalized' view, I expected to see the FCurves. It would help to have this split up into two patches. Or just commit the non-functional change, as it's not that important to have that reviewed, and then rebase this patch on top of that.
Christoph Lendenfeld added 1 commit 2023-03-23 12:00:45 +01:00
Christoph Lendenfeld added 1 commit 2023-03-23 12:01:48 +01:00
Author
Member

committed the code move onto main and rebased onto that

committed the code move onto main and rebased onto that
Sybren A. Stüvel approved these changes 2023-03-27 10:30:46 +02:00
Sybren A. Stüvel left a comment
Member

👍

:+1:
@ -734,0 +767,4 @@
window_region->v2d.cur.ymin = bounds.ymin;
window_region->v2d.cur.ymax = bounds.ymax;
/* UI_view2d_smooth_view(C, window_region, &bounds, 0); */

I think can be removed.

I think can be removed.
Christoph Lendenfeld added 2 commits 2023-03-30 09:53:28 +02:00
Christoph Lendenfeld merged commit 7e940f184f into main 2023-03-30 10:01:24 +02:00
Christoph Lendenfeld deleted branch normalize_set_range 2023-03-30 10:01:25 +02:00
First-time contributor

Heads up, I will document this one.
I might have found a bug while testing it. If a preview range is set, the framing behaves differently depending on how zoomed in I am. Check the attached video for a demo.

Heads up, I will document this one. I might have found a bug while testing it. If a preview range is set, the framing behaves differently depending on how zoomed in I am. Check the attached video for a demo.
Sybren A. Stüvel removed this from the Animation & Rigging project 2023-04-11 15:32:50 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
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, Assets & 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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#105857
No description provided.