Blender Git Commits

Blender Git "master" branch commits.

Page: 450 / 5574

December 22, 2020, 14:08 (GMT)
Fix Cycles OptiX runtime compilation broken after shader raytracing

Need to pass the appropriate flags as we do for compilation as part of the
CMake build.
December 22, 2020, 13:25 (GMT)
Fix T84006: Cycles AOV not written with some mix shader node set ups
December 22, 2020, 13:05 (GMT)
RNA: make `bpy.data.orphans_purge()` return number of deleted datablocks

Sometimes multiple calls to `bpy.data.orphans_purge()` are needed to
delete all orphans, because a call can turn previously-used datablocks
into orphans. Returning the number of deleted datablocks makes it
possible to keep looping until nothing can be deleted any more.

This patch keeps track of deletions in `id_delete()` so that it can be
returned up the call stack.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9918
December 22, 2020, 10:43 (GMT)
VSE: handle IO errors when reading disk cache header and version

Respond to return values of `fscanf()` and `fread()` to detect and
handle I/O errors. Not only is error handling a good idea, this also
prevents warnings from GCC that `fread()` and `fscanf()` return values
are ignored.

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D9915
December 22, 2020, 09:04 (GMT)
Animation: Bake Action, improved discontinuity filter for bones

Perform the same filtering as e5528904f12104ee31e7b67b54f2a4b3f14cec1e
introduced for object rotations, for bone rotations.
December 22, 2020, 04:50 (GMT)
VSE: Fix animation versioning for bezier F-curves

`seq_convert_transform_animation()` converted only keyframed value, but
when bezier interpolation is used, posotion of handles was unchanged.
This caused significant difference in animation.

I have checked only linear interpolation when testing versioning originally.
December 21, 2020, 21:31 (GMT)
UI: Properties editor popover and outliner sync

This adds a popover to the properties editor. Currently the only setting
is for controlling outliner to properties syncing.

Because we cannot define a perfect heuristic to determine when
properties editors should change tabs based on outliner icon selection,
we need an option to enable or disable this behavior per properties
editor.

There are 3 options for controlling the syncing. Auto uses the heuristic
to only allow tab switching when a properties editor and outliner share
a border. On and off enable and disable syncing respectively.

Differential Revision: https://developer.blender.org/D9758
Revision 2d6e6d0 by Wayde Moss
December 21, 2020, 19:07 (GMT)
Nla Refactor: Better blend function parm naming

**Renames parms**:
| **old name** | **new name**
| old_value | lower_value
| target_value | blended_value
| value | strip_value
| inf | influence

**Reason**: {D8296} allows full nla stack evaluation with proper
keyframing support. These names should make it more intuitive how all
the data gets processed and inverted. Note, that I do use the term
"strip_value" instead of something like "fcurve_value" of the tweak
strip. Technically, "strip_value" is closer to what is solved for.
For example, if a noise fmodifier was active for the fcurve, then the
remapping would appear to be wrong. In the future, further solving can
be done afterward, outside of the nla system, to remove the effects of
fmodifiers.

**Renames functions**:
| nla_invert_blend_value | nla_blend_get_inverted_strip_value
| nla_invert_combine_value | nla_combine_get_inverted_strip_value

**Reason**: D8296 adds get_inverted_lower_value() variants,
so "invert" alone is too vague.

**Renames NlaKeyframingContext member**:
| nla_channels | lower_eval_data

**Reason**: D8296 evaluates the upper stack. This name makes it more
obvious what data is stored there.

No functional changes (relative to the dependency below)
Split from {D9247}
Depends on {D9694} since the code was so close to eachother.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D9695
December 21, 2020, 18:19 (GMT)
Fix/workaround geometry nodes not working with deformation motion blur

Always assume geometry nodes produce potentially animated meshes or point
clouds. In general it is hard to check if geometry nodes are animated, and
for modifiers this was already weak.

The better solution will likely involving checking which geometry was
modified by the depsgraph on frame change, to replace the current mechanism
of manually checking for certain types of modifiers and animation.
December 21, 2020, 17:50 (GMT)
Weight Paint: fix Multi-Paint weight display after rB5502517c3.

Weight Paint Multi-Paint definitely depends on the weight specific
flag, and vertex group locking also involves group name symmetry
via BKE_object_defgroup_mirror_selection. These two are also
features implemented by me so I feel confident.

The rest of object_vgroup.c possibly should be changed too, but
that requires more consideration than these obvious cases.
Revision be71bd8 by Hans Goudey
December 21, 2020, 15:43 (GMT)
Cleanup: Reduce indentation
December 21, 2020, 13:15 (GMT)
UI: make light spot shape panel consistent between Cycles and Eevee

Differential Revision: https://developer.blender.org/D9906
Revision d2239b6 by Julian Eisel
December 21, 2020, 12:33 (GMT)
UI: Use better icon for identifying assets

Use the `ASSET_MANAGER` icon which is more appropriate than the current one
which was just an unused icon that seemed sorta fitting, but was only meant to
be temporary.
The `ASSET_MANAGER` icon is already used for the Asset Browser, so it's being
reused which we normally avoid. So we may still want to create a dedicated one,
maybe a variation of this one.
December 21, 2020, 10:50 (GMT)
Fix part of T84004: Some 2.92 alpha UI strings can't be translated.

Adding 'new' (?) `heading` parameter of some UILayout functions...
December 21, 2020, 10:36 (GMT)
Fix T84010: Missing scale animation versioning code

Code was removed in 247b10e6a25b but it was incorrect in first place.
Conversion was done for `offset_x` and `offset_y` channel originally,
but it should be done for `scale_x` and `scale_y`
December 21, 2020, 10:35 (GMT)
Fix part of T84004: Some 2.92 alpha UI strings can't be translated.

Not sure why, but py files from `bl_operators` were never considered for
i18n string extraction... They do define some UI strings though.
December 21, 2020, 09:52 (GMT)
Some more UI messages fixes...
December 21, 2020, 09:49 (GMT)
Fix some UI messages and update i18n spellcheck utils.
December 21, 2020, 08:49 (GMT)
install-deps: Install OIIO utils, re-enable package on RPMs.

OIIO utils are mandatory for a whole set of tests (Cycles, VSE), and
it's a small package, no reason to not install it.

Also re-enabling package handling of OIIO on RPM-based distro, not sure
why it was disabled but this has become a fairly stable and standard
library now, would not expect issues anymore.
December 21, 2020, 05:17 (GMT)
Unix/macOS: support building with Ccache

This adds an option (WITH_COMPILER_CCACHE) to build using Ccache if it's
found. Makefiles-based, Ninja-based and Xcode generators are supported.

Pass `-DWITH_COMPILER_CCACHE=ON` to cmake to enable Ccache.
Utility option in GNUmakefile is also added: for e.g.,
`make ninja ccache`.

Reviewed By: brecht, ankitm
Differential Revision: https://developer.blender.org/D9665
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021