Blender Git Commits

Blender Git "master" branch commits.

Page: 113 / 5574

October 11, 2021, 12:01 (GMT)
Cycles: Improve volume stack size calculation

Only count volume objects after shader optimization.

Allows to discard objects which don't have effective volume
BSDF connected to the shader output (i.e. constant folded,
or non-volume BSDF used by mistake).

Solves memory regression reported in T92014.

There is still possibility to improve memory even further
for cases when there are a lot of non-intersecting volume
objects, but that requires a deeper refactor of update
process. Will happen as a followup development.

Differential Revision: https://developer.blender.org/D12797
October 11, 2021, 12:01 (GMT)
Cleanup: Spelling in comment
October 11, 2021, 10:35 (GMT)
Fix T91169: bpy_extras.io_utils.create_derived_objects -> duplis error

This function now takes a depsgraph and a list of objects to avoid
inefficient O(n^2) iteration when extracting instances from all objects
in the scene. Returning an object -> instance map.

Note that keeping compatibility with the existing API wasn't practical
in this case since instances can no longer be generated from the scene
and it's objects.
October 11, 2021, 10:27 (GMT)
Cycles: Introduce scene host_update function

The longer-term goal is to separate host-only scene update
from device update: make it possible to make kernel features
depend on actual scene state and flags.

This change makes it so shaders are compiled before kernel
load, making checks like "has_volume" available at the
kernel features calculation state.

No functional changes are expected at this point.

Differential Revision: https://developer.blender.org/D12795
October 11, 2021, 10:10 (GMT)
Fix T91785: Change max input limit for knife tool angle snapping

Patch changes the Knife Tool angle snapping input limit to 180.

Differential Revision: https://developer.blender.org/D12728
October 11, 2021, 09:19 (GMT)
Fix T90634: Gizmo.target_set_value() crash without a valid property

Raise an exception when target properties have not been set.
October 11, 2021, 09:14 (GMT)
Cleanup: add utility functions to parse gizmos and target properties
October 11, 2021, 08:10 (GMT)
Cleanup: make format (VSE)
October 11, 2021, 08:10 (GMT)
Fix T92080: Background of Node editors appear brighter than before

In the original code depth=0 meant that there was no parents. But with
BLI_listbase_count we have depth 1 in those cases.

Differential Revision: https://developer.blender.org/D12817
October 11, 2021, 07:40 (GMT)
Cleanup: Add const keyword to `BKE_packedfile_id_check`.
October 11, 2021, 04:33 (GMT)
Doc: expand on docstring for PyC_Long_AsBool
October 11, 2021, 01:58 (GMT)
Fix starting Blender with Python 3.10

URL presets weren't working, raising a Python exception
when the splash screen was displayed.
Revision d245448 by Hans Goudey
October 11, 2021, 01:53 (GMT)
Fix: Incorrect custom property edit string to int change

This fixed an error in a corner case, and is a reasonable check anyway.
October 10, 2021, 23:54 (GMT)
Fix T91889 Exact boolean sometimes drops triangles.

The problem is that the fast triangulator (based on polyfill)
sometimes makes degenerate triangles. Commit 8115f0c5bd91f had
a check for degenerate triangles but it wasn't thorough enough.
This commit uses a more thorough (and pessimistic) test for
degenerate triangles, using the exact triangulator in those cases.
October 9, 2021, 19:40 (GMT)
Geometry Nodes: Align Euler to Vector Node

This commit introduces the Align Euler to Vector function node which
rotates to a body into a given direction. The node replaces the legacy
"Align Rotation to Vector" node, which only worked on an attribute
named `rotation` internally. The "Euler" in the name is meant to make
it clearer that the rotation isn't interchangeable with a regular
vector.

Addresses T91374.

Differential Revision: https://developer.blender.org/D12726
October 9, 2021, 08:11 (GMT)
Fix T91096: VSE use after free with overwrite enabled

Strip was flagged for deletion in `seq_transform_handle_overwrite()`
on `STRIP_OVERLAP_IS_FULL`. Then it is removed in
`SEQ_edit_strip_split()` before it should be.

Handle `STRIP_OVERLAP_IS_FULL` in separate loop.

This may not be complete solution, because in example file overlap is
caused between 2 transformed strips and one that is "static".
Such operation should not be possible in first place. This fixes the
crash at lest, so improvement in behavior can be handled separately.

Differential Revision: https://developer.blender.org/D12751
October 9, 2021, 08:08 (GMT)
Fix T91978: VSE box select substract doesn't work

Substract and add modes were not implemented. Add logic to handle these
modes.
October 9, 2021, 06:41 (GMT)
VSE: Fix 2D cursor not visible

This was caused by confusing naming of frame overlay feature.
Correct flag to use is `sseq->flag & SEQ_SHOW_OVERLAY`, not
`ed->over_flag & SEQ_EDIT_OVERLAY_SHOW`.
October 9, 2021, 06:41 (GMT)
VSE: rename flag for Frame Overlay feature

Rename `SEQ_EDIT_OVERLAY_SHOW` to `SEQ_EDIT_USE_FRAME_OVERLAY` to avoid
confusion between `SEQ_SHOW_OVERLAY` of `SpaceSeq.flag`
Revision 6391949 by Hans Goudey
October 9, 2021, 06:01 (GMT)
Cleanup: Change variable name, comment formatting
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021