Blender Git Commits

Blender Git "master" branch commits.

Page: 172 / 5574

August 19, 2021, 15:06 (GMT)
UI: Match row color for Summary in Mask animation editor

The back color of the row was missing.
August 19, 2021, 15:06 (GMT)
GPencil: Match row color for Summary in Grease Pencil animation editor

The background of the summary row was different in Grease Pencil mode.

Reviewed by: Pablo Vazquez, Matias Mendiola
August 19, 2021, 13:34 (GMT)
Cleanup: move animation snap utilities to a separate compilation unit

The snap functions of animation editors were scattered in
`transform_mode` and `transform_snap`.
August 19, 2021, 13:34 (GMT)
Fix incremental snap in animation editors

Animation editors have their own snap types and incremental is not
supported.
August 19, 2021, 13:34 (GMT)
Transform Convert Action: conventionalize TransData creation

`td2d->loc`, `td2d->loc2d`, `td->loc` and `td->iloc` were not being
initialized as is done with the other conversion types.

This avoids problems with transform modes becoming incompatible.

This avoids problems with incompatible transform modes that could
result in a crash.
August 19, 2021, 13:34 (GMT)
Fix T87173: wrong Auto-Snap in animation editors

This was partially broken with {rBde9ea94fc6f}.

The `Frame Step` and `Second Step` snapping options were working as if
they were `Nearest Frame` and `Nearest Second` respectively in the
`Dope Sheet` and `NLA` editors.

In the `Graph Editor` the problem was more serious:
"Second Step: ... The keyframe itself moves along as though in snapping
were active at all, while its handles 'stay behind' until it reaches
the next second boundary, at which point the teleport handles to
'catch up'".

The snapping code for these modes was spread across the transform
mode code and `recalcData` of each data type. Therefore, create a
unified snapping code for these options so that all issues are fixed in
one place.

Differetial Revision: https://developer.blender.org/D12241
August 19, 2021, 13:34 (GMT)
Fix the value in the graphical editor header when transforming

The header did not display the actual value when transforming with snapping
August 19, 2021, 13:09 (GMT)
LibOverride: Tag all embedded IDs RNA opinters as overridablei, part II.

Not sure how I failed to include those files in rBe5f8db92b696...
August 19, 2021, 13:09 (GMT)
Cleanup: Blendwrite: Move code deciding if an ID should be written out of ID callbacks.

This was not really useful, and added estra useless steps in case and ID
should not actually be written.

Further more, it prevented clearing the usercount on write, which can be
cause a false positive 'chanhged' detection in undo/redo case.
August 19, 2021, 13:09 (GMT)
Undo: Clear more ID runtime data on filewrite.

This should help reducing false 'changed' status detection when reading
back a memfile undo step.

Related to T90593 & D12242.
August 19, 2021, 12:40 (GMT)
Cycles: experimental integration of Alembic procedural in viewport rendering

This patch exposes the Cycles Alembic Procedural through the MeshSequenceCache
modifier in order to use and test it from Blender.

To enable it, one has to switch the render feature set to experimental and
activate the Procedural in the modifier. An Alembic Procedural is then
created for each CacheFile from Blender set to use the Procedural, and each
Blender object having a MeshSequenceCache modifier is added to list of objects
of the right procedural.

The procedural's parameters derive from the CacheFile's properties which are
already exposed in the UI through the modifier, although more Cycles specific
options might be added in the future.

As there is currently no cache controls and since we load all the data at the
beginning of the render session, the procedural is only available during
viewport renders at the moment. When an Alembic procedural is rendered, data
from the archive are not read on the Blender side.

If a Cycles render is not active and the CacheFile is set to use the Cycles Procedural,
bounding boxes are used to display the objects in the scene as a signal that the
objects are not processed by Blender anymore. This is standard in other DCCs.
However this does not reduce the memory usage from Blender as the Alembic data
was already loaded either during an import or during a .blend file read.

This is mostly a hack to test the Cycles Alembic procedural until we have a
better Blender side mechanism for letting renderers load their own geometry,
which will be based on import and export settings on Collections (T68933).

Ref T79174, D3089

Reviewed By: brecht, sybren

Maniphest Tasks: T79174

Differential Revision: https://developer.blender.org/D10197
August 19, 2021, 12:29 (GMT)
Alembic import: option to always add a cache reader

The current behavior of the Alembic importer is to only create a
`MeshSequenceCache` modifier or a `Transform Cache` constraint to imported
objects if they have some animated properties.

Since static objects do not have a cache reader, when reloading files those
objects are not updated. Currently, the only way to properly reload a file
because of this is to reimport it.

This adds an option to the importer to always add a cache reader, even if
there is no animated data, to ensure that all objects coming from Alembic
archive are linked to them and updated properly upon reloads.

Reviewed by: brecht, sybren

Ref D10197.
August 19, 2021, 07:56 (GMT)
August 19, 2021, 07:10 (GMT)
Fix T71137: curve minimum twist producing wrong geometry

Originally D11886 by @ghaspias with minor edits applied.
August 19, 2021, 03:31 (GMT)
Refactor: BLF Without Kerning Modes

Simplification of BLF code after removal of kerning modes.

See D12262 for more details.

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

Reviewed by Campbell Barton
August 19, 2021, 03:18 (GMT)
Cleanup: correction to unused warning removal

This broke building without opensubdiv
August 19, 2021, 02:50 (GMT)
Cleanup: reduce indentation in loops that check region visibility
August 19, 2021, 02:50 (GMT)
UI: add function to access the buttons text without it's shortcut
August 19, 2021, 02:48 (GMT)
UI: Remove "Unfitted" Kerning Style Option

This patch removes the "Kerning Style" option for UI widget font
drawing and uses only the current default of "Fitted", since the other
option of "Unfitted" is just the result of truncation errors.

see D12231 for much more information.

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

Reviewed by Campbell Barton
August 19, 2021, 02:15 (GMT)
Cleanup: unused warning
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021