Blender Git Statistics -> Developers -> ChrisLend

Christoph Lendenfeld (ChrisLend)

Total Commits : 12
Master Commits : 9
Branch Commits : 3
First Commit : October 7, 2020
Latest Commit : June 11, 2021

Commits by Month

DateNumber of Commits
June, 20218
May, 20211
April, 20211
March, 20211
February, 20210
January, 20210
December, 20200
November, 20200
October, 20201

Commit Distribution

PathNumber of Commits
master9
temp-pose-slider-cleanup2
temp-pose-slide-D90541

Favourite Files

FilenameTotal Edits
pose_slide.c10
CMakeLists.txt2
ed_util.c1
rna_space.c1
image_draw.c1
clip_draw.c1
space_dopesheet.py1
ED_util.h1
ED_screen.h1
area.c1

File Changes

ActionTotalPer Commit
Added10.1
Modified282.3

Code Changes

ActionTotalPer Commit
Lines Added1 452121.0
Lines Removed64553.8

Latest commits Feed

Revision 066f5a4 by Christoph Lendenfeld / Campbell Barton (master)
June 11, 2021, 05:53 (GMT)
Cleanup: pose slider rename region to region_header

Reviewed By: sybren, campbellbarton

Ref D11365
Revision d07cc5e by Christoph Lendenfeld / Campbell Barton (master)
June 11, 2021, 05:40 (GMT)
Cleanup: pose slider use enum types

use enum types in `tPoseSlideOp` instead of `short`

Reviewed By: sybren, campbellbarton

Ref D11364
Revision 162cf8e by Christoph Lendenfeld / Campbell Barton (master)
June 11, 2021, 05:38 (GMT)
Cleanup: pose slider use strncpy

use `STRNCPY` instead of `BLI_strncpy`

Reviewed By: sybren, campbellbarton

Ref D11363
Revision fd5c94c by Christoph Lendenfeld / Campbell Barton (master)
June 11, 2021, 05:36 (GMT)
Cleanup: pose slider data types

- change vec2f to float[2]
- pass rctf as pointer
- change `const struct rctf` to `const rctf`
Revision 2724d08 by Christoph Lendenfeld / Campbell Barton (master)
June 11, 2021, 05:29 (GMT)
Cleanup: pose slider rename "percentage" to "factor"

This patch changes occurrences of percentage to factor.

There are some usages of percentage left in there on purpose.
They are distinguished as follows:

- factor is 0-1 float
- percentage is 0-100 int

Ref D11361

Reviewed by: sybren, campbellbarton
Revision d96e9de by Christoph Lendenfeld (master)
June 9, 2021, 21:31 (GMT)
Fix T88546: Pose slider typed input not working

Remove an unnecessary call to pose_slide_mouse_update_percentage
That call was overriding the typed value

Reviewed By: #animation_rigging, Sybren A. Stvel

Differential Revision: https://developer.blender.org/D11395

Ref D11395
Revision 2b8d623 by Christoph Lendenfeld (temp-pose-slider-cleanup)
June 6, 2021, 21:43 (GMT)
Cleanup: Use enum types instead of short
No functional changes
Revision 9a6eb3e by Christoph Lendenfeld (temp-pose-slider-cleanup)
June 6, 2021, 21:16 (GMT)
Cleanup: pose_slide.c use STRNCPY
No functional changes
Revision 9797b95 by Christoph Lendenfeld / Sybren A. Stvel (master)
May 14, 2021, 09:00 (GMT)
Animation: Pose sliding tools improvements

Improve the "In Betweens" tools:
- Push Pose from Rest Pose
- Relax Pose to Rest Pose
- Push Pose from Breakdown
- Relax Pose to Breakdown
- Pose Breakdowner

These all now use the same new sliding tool:
- Actual visual indication of the blending/pushing percentage applied.
- Mouse wrapping to allow for extrapolation without having to worry
about the initial placement of the mouse. This also means these tools
are actually usable when chosen from the menu.
- Precision mode by holding {key Shift}.
- Snapping to 10% increments by holding {key Ctrl}.
- Overshoot protection; by default the tool doesn't allow overshoot
(lower than 0% or higher than 100%), and it can be enabled by pressing
{key E}.
- Bones are hidden while sliding, so the pose itself can be seen more
clearly. This can be toggled by pressing {key H} while using the tool.

Reviewed By: #animation_rigging, zeddb, sybren, #user_interface, brecht, Severin, looch

Maniphest Tasks: T81836

Differential Revision: https://developer.blender.org/D9054
Revision 60d1d13 by Christoph Lendenfeld / Sybren A. Stvel (temp-pose-slide-D9054)
April 15, 2021, 08:59 (GMT)
Pose Sliding tools improvements

### Executive Summary

This patch improves pose sliding tools: Breakdowner, Push, and Relax.

The problems with the old tools:
- **No UI**. Even though it's clear how the tool works when you move the mouse, there is no visual indication as to the actual scale of the movement required.
- **No mouse wrapping**. This means that you have to carefully plan the initial position of the mouse when using the tools, because that impacts which values are available. This makes it hard to use it from the menu, as that forces the mouse to be in a certain position.
- **No precision mode** by pressing shift.
- **No overshoot protection**, so it's very easy to go below 0% or above 100%.

These problems are **all solved in this patch**.

##### Demo video

Here {key Shift E} is used to start the Pose Breakdowner.

{F9929705}

### Original description

**Problem**
The existing Push, Relax and Breakdowner tools are great, but the fact that they use the whole area range is less than ideal.
In theory, the tools support going beyond 0% and 100% to create an overshoot, but since they use the whole are, you might be blocked by the edges of the screen.

**Solution**
Set a pixel value as defined distance from 0% to 100% (scales with gui)
To indicate that, draw a UI under the cursor.
The percentage is now calculated accumulative to enable precision support when holding SHIFT

Info about new modifier keys is printed to the workspace status
{F9891261}

Update 2020_10_12: All lines have outlines now and handle is orange for better readability on white.
Update 2021_01_18: Static indicators moved to bottom. tick spacing now every 10%
Update 2021_03_14: Remove the slider and replace with a simple percentage indicator. (Cursor not visible in screenshot)
Update 2021_04_11: Brought the slider back. Spawns centered at the bottom of the screen
{F9929709}

By default the percentage is clamped to 0-1. But by pressing E you can enable overshoot.
Update 2020_10_12: slider range in overshoot mode is now 150% to better indicate that it can go further
Update 2021_03_14: Since the slider was removed, the percentage amount is simply displayed under the cursor
Update 2021_04_11: Overshoot now scrolls in place
{F9929712}

**Limitations and future improvements**
As mentioned in the comments below it would be a good idea to write a more general version of the slider to be used in various areas of Blender.

**Build**
[[ https://blender.community/c/graphicall/dqbbbc/ | Windows build on graphicall ]]

**Edit**
Split off the operator into it's own patch D9137

Reviewed By: zeddb, brecht, Severin, looch

Maniphest Tasks: T81836

Differential Revision: https://developer.blender.org/D9054

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021