http://www.miikahweb.com/feed.php MiikaHweb - Blender Commits By Angavrilov http://www.miikahweb.com/ MiikaHweb - Blender Commits By Angavrilov fi Sat, 16 Feb 19 10:17:02 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[de1d3e5] master: NLA: implement a new blending mode that intelligently combines...]]> http://www.miikahweb.com/en/blender/git-logs/commit/de1d3e5f5f4029be03195227197de1c42720f958 de1d3e5
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
NLA: implement a new blending mode that intelligently combines actions.

The existing Add and Multiply blending modes have limited usability,
because the appropriate operation for meaningfully combining values
depends on the channel. This adds a new mode that chooses the operation
automatically based on property settings:

- Axis+Angle channels are summed, effectively averaging the
axis, but adding up the angle. Default is forced to 0.

- Quaternion channels use quaternion multiplication:

result = prev * value ^ influence

- Scale-like multiplicative channels use multiplication:

result = prev * (value / default) ^ influence

- Other channels use addition:

result = prev + (value - default) * influence

Inclusion of default in the computation ensures that combining
keyframed default values of properties keeps the default state,
even if the default isn't 0 or 1.

Strips with this mode can be keyframed normally in Tweak mode,
except that for quaternion rotation keyframing always inserts
all 4 channels, and the channel value sliders on the left side
of Graph/Action editors won't insert keys without Auto Key.
Quaternion keys are also automatically normalized.

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

----------------------------------------
4 Paths Changed]]>
Mon, 14 Jan 2019 16:14:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/de1d3e5f5f4029be03195227197de1c42720f958Alexander Gavrilov
<![CDATA[[9c1a961] master: Keyframing: refactor insertion code to allow property-global...]]> http://www.miikahweb.com/en/blender/git-logs/commit/9c1a961dc423d2eb19b875564bb4bb3c0b297ca5 9c1a961
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Keyframing: refactor insertion code to allow property-global NLA tweaks.

Supporting a strip blending type that treats quaternions as a unit
also means being able to adjust all sub-channels as a unit when
inserting keyframes. This requires refactoring keyframe insertion
code to retrieve array property values for all channels at once,
before iterating over the indices being inserted.

----------------------------------------
4 Paths Changed]]>
Mon, 14 Jan 2019 16:14:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9c1a961dc423d2eb19b875564bb4bb3c0b297ca5Alexander Gavrilov
<![CDATA[[2826c2b] master: NLA: ignore time range when evaluating a raw action.]]> http://www.miikahweb.com/en/blender/git-logs/commit/2826c2be545ee0382ef37da0b0b919757b75f10a 2826c2b
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
NLA: ignore time range when evaluating a raw action.

When editing an action without a strip, or tweaking a strip without
time mapping enabled or supported, the extents of the virtual strip
can't be controlled and are purely derived from keys in the action.

Thus, cutting off evaluation of the action at these arbitrary points
gets in the way of observing the natural extrapolation of the F-Curves
and thus appears to be a mis-feature.

With this change non-mapped actions are evaluated with infinite
range, exactly like they are handled without NLA, unless extend
mode is set to Nothing.

----------------------------------------
2 Paths Changed]]>
Sat, 12 Jan 2019 11:10:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2826c2be545ee0382ef37da0b0b919757b75f10aAlexander Gavrilov
<![CDATA[[80ffa73] master: Fix T60285: allow negative offsets in shrinkwrap (worked in...]]> http://www.miikahweb.com/en/blender/git-logs/commit/80ffa73b3f87caef9511c073e6ff2e004de7f5b3 80ffa73
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T60285: allow negative offsets in shrinkwrap (worked in 2.79).

----------------------------------------
1 Path Changed]]>
Thu, 10 Jan 2019 09:15:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/80ffa73b3f87caef9511c073e6ff2e004de7f5b3Alexander Gavrilov
<![CDATA[[43a2a73] master: Fix missing updates when muting/soloing/reordering NLA tracks...]]> http://www.miikahweb.com/en/blender/git-logs/commit/43a2a73fdba0aed5b349ecfbb7a88251b8130e3c 43a2a73
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix missing updates when muting/soloing/reordering NLA tracks.

----------------------------------------
3 Paths Changed]]>
Mon, 07 Jan 2019 14:35:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/43a2a73fdba0aed5b349ecfbb7a88251b8130e3cAlexander Gavrilov
<![CDATA[[57d4b86] master: NLA: rewrite evaluation channel data structures.]]> http://www.miikahweb.com/en/blender/git-logs/commit/57d4b869be387767be51fe1f9d819904c342d692 57d4b86
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
NLA: rewrite evaluation channel data structures.

Implementing a new intelligent mixing mode that combines quaternions
via multiplication requires rewriting the NLA code to recombine array
properties from separate scalar channels during evaluation.

In addition, stable evaluation of NLA stack requires that any channel
that is touched by any of the actions in the stack should always be
set to a definite value by evaluation, even if no strip affects it
at this point of the timeline. The obvious choice for the fallback
is the default value of the property.

To make scanning all actions reasonably efficient, mapping paths to
channels should be done using hash tables.

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

----------------------------------------
2 Paths Changed]]>
Sat, 05 Jan 2019 07:52:43 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/57d4b869be387767be51fe1f9d819904c342d692Alexander Gavrilov
<![CDATA[[a5cfeab] master: Fix missing update when deleting animation channels.]]> http://www.miikahweb.com/en/blender/git-logs/commit/a5cfeaba9ee26b4a5e917745c664d1ed16393b21 a5cfeab
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix missing update when deleting animation channels.

----------------------------------------
1 Path Changed]]>
Sun, 23 Dec 2018 14:32:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a5cfeaba9ee26b4a5e917745c664d1ed16393b21Alexander Gavrilov
<![CDATA[[c3650e4] master: Fix missing update when toggling NLA solo mode.]]> http://www.miikahweb.com/en/blender/git-logs/commit/c3650e496b6fa67616280617f3444a9a4bbc7e66 c3650e4
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix missing update when toggling NLA solo mode.

----------------------------------------
1 Path Changed]]>
Sun, 23 Dec 2018 14:32:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c3650e496b6fa67616280617f3444a9a4bbc7e66Alexander Gavrilov
<![CDATA[[02f083c] master: BLI_math_rotation: properly name the quaternion power function...]]> http://www.miikahweb.com/en/blender/git-logs/commit/02f083cdcecf74a169114850337a99c802c53e34 02f083c
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
BLI_math_rotation: properly name the quaternion power function.

"angular mult factor" is a completely unintelligible description
for a function that raises a unit quaternion to the scalar power.

----------------------------------------
3 Paths Changed]]>
Sun, 23 Dec 2018 12:28:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/02f083cdcecf74a169114850337a99c802c53e34Alexander Gavrilov
<![CDATA[[afa3aec] master: Fix T59734: cyclic dependency with drivers on PoseBone.bbone_...]]> http://www.miikahweb.com/en/blender/git-logs/commit/afa3aec45d95c225c0388615ad5d0549769df1fe afa3aec
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T59734: cyclic dependency with drivers on PoseBone.bbone_*.

Allow more flexible use of drivers on B-Bone properties by
connecting the dependencies to the actual operation node that
uses the values, instead of the whole component.

----------------------------------------
1 Path Changed]]>
Fri, 21 Dec 2018 20:10:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/afa3aec45d95c225c0388615ad5d0549769df1feAlexander Gavrilov
<![CDATA[[8cbadde] master: Fix T59673: wrong B-Bone handle references when duplicating...]]> http://www.miikahweb.com/en/blender/git-logs/commit/8cbadde1a52f2550bd14bdca222a88cb1ec26547 8cbadde
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T59673: wrong B-Bone handle references when duplicating bones.

Also fix and improve symmetrize behavior.

----------------------------------------
1 Path Changed]]>
Fri, 21 Dec 2018 09:10:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8cbadde1a52f2550bd14bdca222a88cb1ec26547Alexander Gavrilov
<![CDATA[[d211c9a] master: BLI_bitmap: add functions operating on the whole bitmask.]]> http://www.miikahweb.com/en/blender/git-logs/commit/d211c9aa0aaa68fe126ce632746b705903d03173 d211c9a
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
BLI_bitmap: add functions operating on the whole bitmask.

There is no point having operations that iterate over the whole
bit array as macros, so convert BLI_BITMAP_SET_ALL to a function.
Also, add more utilities for copying and manipulating masks.

Reviewers: brecht, campbellbarton

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

----------------------------------------
10 Paths Changed]]>
Wed, 19 Dec 2018 12:53:12 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d211c9aa0aaa68fe126ce632746b705903d03173Alexander Gavrilov
<![CDATA[[61c941f] master: RNA: support setting default values for custom properties.]]> http://www.miikahweb.com/en/blender/git-logs/commit/61c941f040d367d18fcaa57c9e8e0c2078193d97 61c941f
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
RNA: support setting default values for custom properties.

NLA requires a usable default value for all properties that
are to be animated via it, without any exceptions. This is
the real cause of T36496: using the default of 0 for a scale
related custom property obviously doesn't work.

Thus, to really fix this it is necessary to support configurable
default values for custom properties, which are very frequently
used in rigs for auxiliary settings. For common use it is enough
to support this for scalar float and integer properties.

The default can be set via the custom property configuration
popup, or a right click menu option. In addition, to help in
updating old rigs, an operator that saves current values as
defaults for all object and bone properties is added.

Reviewers: campbellbarton, brecht

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

----------------------------------------
8 Paths Changed]]>
Wed, 19 Dec 2018 11:20:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/61c941f040d367d18fcaa57c9e8e0c2078193d97Alexander Gavrilov
<![CDATA[[1ca7b6c] master: Fix T59569: crashes when generate rig.]]> http://www.miikahweb.com/en/blender/git-logs/commit/1ca7b6ca858dcbb5ff010f985adc986637c75f32 1ca7b6c
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T59569: crashes when generate rig.

The fix in 9fa408f51b missed one place that needed the
check, causing the assert because of incomplete data.

----------------------------------------
1 Path Changed]]>
Tue, 18 Dec 2018 16:52:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1ca7b6ca858dcbb5ff010f985adc986637c75f32Alexander Gavrilov
<![CDATA[[cfa46dd] master: UI: initialize Overridable Static checkbox for custom properties...]]> http://www.miikahweb.com/en/blender/git-logs/commit/cfa46ddf6c223472a1b4ec47e6baa4d91f787d4c cfa46dd
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
UI: initialize Overridable Static checkbox for custom properties.

----------------------------------------
1 Path Changed]]>
Sun, 16 Dec 2018 14:09:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/cfa46ddf6c223472a1b4ec47e6baa4d91f787d4cAlexander Gavrilov
<![CDATA[[de662e7] master: NLA: insert keyframes correctly for strips with non-Replace...]]> http://www.miikahweb.com/en/blender/git-logs/commit/de662e7cd3b3ca45c4220e3830c32e2b3496c9fe de662e7
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
NLA: insert keyframes correctly for strips with non-Replace mode.

NLA strips support using the keyframe values in a variety of ways:
adding, subtracting, multiplying, linearly mixing with the result
of strips located below in the stack. This is intended for layering
tweaks on top of a base animation.

However, when inserting keyframes into such strips, it simply inserts
the final value of the property, irrespective of these settings. This
in fact makes the feature nearly useless.

To fix this it is necessary to evaluate the NLA stack below the
edited strip and correctly compute the raw key that would produce
the intended final value, according to the mode and influence.

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

----------------------------------------
13 Paths Changed]]>
Fri, 14 Dec 2018 19:19:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/de662e7cd3b3ca45c4220e3830c32e2b3496c9feAlexander Gavrilov
<![CDATA[[48a3f97] master: RNA: provide access to bone parent transform math from Python...]]> http://www.miikahweb.com/en/blender/git-logs/commit/48a3f97b23501fd33f6e400b7682ea4cb2988a8a 48a3f97
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
RNA: provide access to bone parent transform math from Python.

Applying the effect of bone parent is much more complicated than
simple matrix multiplication because of the various flags like
Inherit Scale. Thus it is reasonable to provide access to this
math from Python for complicated rest pose related manipulations.

The simple case of this is handled by Object.convert_space, so
the new method is only needed for complex tasks.

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

----------------------------------------
4 Paths Changed]]>
Tue, 11 Dec 2018 17:40:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/48a3f97b23501fd33f6e400b7682ea4cb2988a8aAlexander Gavrilov
<![CDATA[[b4b224d] master: Shrinkwrap: use polygon normals for flat faces in Align To...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b4b224dc083c0e490eebc5c98646d791a41b8563 b4b224d
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Shrinkwrap: use polygon normals for flat faces in Align To Normal.

Hit normal originates from tesselated triangles and isn't the
actual normal used for shading of flat faces. Thus, it is better
to use the actual polygon normals when available.

----------------------------------------
2 Paths Changed]]>
Sat, 08 Dec 2018 05:27:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b4b224dc083c0e490eebc5c98646d791a41b8563Alexander Gavrilov
<![CDATA[[16aa7df] master: Fix T58391: correctly handle Curve Shape Key layout in Python...]]> http://www.miikahweb.com/en/blender/git-logs/commit/16aa7dfa196df376f5c23f8892b172128b38bb52 16aa7df
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T58391: correctly handle Curve Shape Key layout in Python API.

The layout changed when the radius property was added to shape
keys in 2.8, but the RNA code wasn't updated.

Also, even before that, the code didn't do anything to correctly
handle mixing sub-curves of different type (nurbs vs bezier) in
the same Curve object. Now that case is handled correctly but not
very efficiently by allocating a mapping table when necessary. To
recover some performance, a custom index lookup function is added.

----------------------------------------
1 Path Changed]]>
Wed, 05 Dec 2018 15:36:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/16aa7dfa196df376f5c23f8892b172128b38bb52Alexander Gavrilov
<![CDATA[[34b73cb] master: Fix T57620: display custom normals in Edit Mode.]]> http://www.miikahweb.com/en/blender/git-logs/commit/34b73cb11ce50f2afefabec32aadb9a853eec177 34b73cb
Branches : master
Author : Alexander Gavrilov (angavrilov)
----------------------------------------
Fix T57620: display custom normals in Edit Mode.

Since it seems that CD_ORIGINDEX is not available for loops,
the only choice is to simply use the loop normals already
computed by depsgraph after evaluating modifiers.

This revealed a bug where the Auto Smooth settings would be lost
from the mesh after complex modifiers, or after edit mesh to mesh
conversion, so restoring them is needed to get correct results.

----------------------------------------
2 Paths Changed]]>
Tue, 04 Dec 2018 16:53:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/34b73cb11ce50f2afefabec32aadb9a853eec177Alexander Gavrilov