Blender Git Commits

Blender Git "asset-system-filelist" branch commits.

Page: 9 / 12

March 16, 2021, 14:01 (GMT)
Pose library: remove invalid flags

The wrong flags were used, and it works fine without flags as well.

No functional changes.
March 16, 2021, 12:11 (GMT)
Merge branch 'ui-asset-view-template' into asset-browser-poselib
March 16, 2021, 12:06 (GMT)
Store active asset library at workspace level

The Asset Browser still has its own active asset library. But for the UI
(e.g. the asset view UI template), there is one active asset library per
workspace now. This is needed because for technical reasons the property
has to be registered in C, ideally you could just register it as custom
property for any use-case and pass that to the asset view template.
Since this isn't possible, an active asset library per workspace seems
reasonable.
March 16, 2021, 10:56 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
March 16, 2021, 10:43 (GMT)
Merge branch 'master' into ui-asset-view-template
March 16, 2021, 10:43 (GMT)
Pose Library: get initial blend factor from RNA property
March 16, 2021, 10:41 (GMT)
Pose Library: don't crash `POSELIB_OT_blend_pose` outside asset browser
March 16, 2021, 10:05 (GMT)
Cleanup: update TODO

No functional changes.
March 16, 2021, 10:04 (GMT)
Pose Library: blend quaternions properly, instead of LERPing them

This also removes the `bool flush_to_original` argument, as this flushing
is not required for the pose library (poses are always applied to the
original, and not to evaluated copies).
March 15, 2021, 17:05 (GMT)
Cleanup: remove unnecessary `ATTR_FALLTHROUGH`

`ATTR_FALLTHROUGH` is only necessary when there is actually code inside
the falling-through `case`.

No functional changes.
March 15, 2021, 16:45 (GMT)
Explicitly consider hidden bones as not selected
March 15, 2021, 16:02 (GMT)
Cleanup: pose library, remove unused includes

No functional changes.
March 15, 2021, 16:02 (GMT)
Pose blending: also apply rounding to floats

My code for interpolating booleans basically performed the same function
as the rounding for ints and enums. Now the code is the same, too.

No functional changes
March 15, 2021, 16:02 (GMT)
Add operator `POSELIB_OT_blend_pose` for interactive pose blending

The operator doesn't blend yet, but it does allow temporarily applying the
pose, switching between the original and the given pose with Tab, applying
the pose with Enter/LeftClick, and cancelling with Esc/RightClick.
March 15, 2021, 16:02 (GMT)
Rough implementation for temp-loading poses from C

The code needs some cleanup, as the temp-loading of asset datablocks needs
to be separated from the pose library code.
March 15, 2021, 16:02 (GMT)
Cleanup: remove unused code and rename variables/fields

No functional changes.
March 15, 2021, 16:02 (GMT)
Pose library: add simple blending of pose Action onto current pose

Naieve blending of the pose Action onto the current pose. This performs
linear blending (LERP) per FCurve. This is not suitable for rotations, so
it's probably better to do proper matrix interpolation for loc/rot/scale.
However, for other properties, the current LERP will be necessary anyway.
March 15, 2021, 16:02 (GMT)
Pose library: Use scrollwheel to set the blend factor

This is not the final UI, but gives a way to at least set it to some value.
March 11, 2021, 17:05 (GMT)
Do proper updates when local asset data changes

Makes sure the asset list is updated and redrawn correctly an local asset data
changes: Creating assets, removing assets, clearing assets, undo/redo, reading
files (with and without UI), parallel reading of asset data from files, ...

For redraws there now is a listener callback in the uiList type (C only) that
asks the asset lists if it needs a redraw after a given notifier. For the case
of asset data-block removal there is a ID remapping function in the asset list
now (just tags the list for a complete re-read). File reading, undo, redo and
the "Mark Asset"/"Clear Asset" operators explicitly tag asset lists showing
main data as dirty (via the global asset storage).
March 11, 2021, 16:50 (GMT)
Merge branch 'master' into ui-asset-view-template
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021