Blender Git Commits

Blender Git "master" branch commits.

Page: 356 / 5574

March 9, 2021, 23:01 (GMT)
Fix (unreported) geometry node attribute search not working in the
Properties Editor

Since rBb279fef85d1a, the nodes properties for geometry nodes using a
texture are displayed in the Properties Editor.

rB85421c4fab02 added an attribute search button, but this was missing
still (gave just the regular text button) if this was displayed in the
Properties Editor.

ref b279fef85d1a / T86416 / D10671 / D10673

Maniphest Tasks: T86416

Differential Revision: https://developer.blender.org/D10674
March 9, 2021, 20:22 (GMT)
Fix: only follow first input of multi-input-socket when muted

Otherwise muting a Join Geometry node has no effect, when there
are multiple Join Geometry nodes in a row.
March 9, 2021, 20:21 (GMT)
Fix T86422: Expand crashing with EEVEE enabled

Using EEVEE (as well as some other actions like saving the file or
tweaking mesh parameters) can cause a PBVH rebuild. The different sculpt
tools can store PBVH nodes or other related data in their caches, so
this data becomes invalid if the PBVH rebuilds during evaluation. This
ensures that the PBVH does not rebuild while the cache of Expand is
being used, like it already happens for brushes and filters.

Reviewed By: JacquesLucke

Maniphest Tasks: T86422

Differential Revision: https://developer.blender.org/D10675
Revision dcd7dac by Wayde Moss
March 9, 2021, 20:09 (GMT)
Graph Editor: FCurve Show Extrapolation Toggle

Adds toggle to graph editor (View->Show Extrapolation). When disabled,
then fcurves only draw over the keyframe range. For baked fcurves and
ghost fcurves, the range is all sampled points.

It is intended for frequent use so anybody could assign hotkey or add
to quick favorites that's why GE-View is the best place for it.

Show Extrapolation is the default.

Reviewed By: sybren, Stan1, looch

Differential Revision: https://developer.blender.org/D10442
March 9, 2021, 19:03 (GMT)
BLI: New 'BLI_array_iter_spiral_square'

No functional changes.

This function replaces some of the logic in
`DRW_select_buffer_find_nearest_to_point` that traverses a buffer in a
spiral way to search for a closer pixel (not the closest).

Differential Revision: https://developer.blender.org/D10548
Revision 80f7f10 by Hans Goudey
March 9, 2021, 18:39 (GMT)
Geometry Nodes: Add Attribute interpolation for polygon domains

This commit adds interpolation to and from attribute on the polygon
domain. Interpolation is done automatically when a node uses attributes
on two different domains. The following are the new interpolations and
corresponding simple test cases:
- **Point to Polygon**: Painting the shade smooth attribute in weight
paint mode
- **Polygon to Point**: Moving points along a normal based on the
material index
- **Polygon to Corner**: Scaling a UV map with the material index
before sampling a texture

{F9881516}

This is also necessary for an improved implementation of the `normal`
attribute.

Differential Revision: https://developer.blender.org/D10393
Revision 9965868 by Hans Goudey
March 9, 2021, 18:31 (GMT)
Cleanup: Do not pass stack allocated string to MEM_callocN
March 9, 2021, 17:56 (GMT)
Fix crash in boundary brush after refactor

A missing continue in this loop.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10610
March 9, 2021, 17:55 (GMT)
Sculpt: Init Face Sets by Face Sets boundaries

This adds an extra option to the Face Sets Init operator to initialize
individual Face Sets based on the current Face Sets boundaries.
In particular, this is useful for splitting the patterns created by
Expand into individual Face Sets for further editing.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10608
March 9, 2021, 16:42 (GMT)
Cleanup: add missing full stop to docstring of function

No functional changes.
March 9, 2021, 16:42 (GMT)
Cleanup: Document `ensure()`-like behaviour of `KeyMaps.new()`

Document the fact that `bpy.types.KeyMaps.new()` will not create a new
keymap but instead return an existing one, if one with the given
name/space/region already exists.

No functional changes.
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Simplify pasteboard and screen count code

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Remove unnecessary nil checks.

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Replace NSAutoreleasePool with @autoreleasepool

- Automatic and guaranteed cleanup.
- Improves readability and reduces chances of errors by removing
`[pool drain]` statements.

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:00 (GMT)
Fix T86432: missing check if attribute is available

This failed when the component did exist, but did not contain any data.
March 9, 2021, 15:50 (GMT)
Cleanup: use raw strings.
March 9, 2021, 15:34 (GMT)
Cleanup: use nullptr in cpp.
Revision 0700441 by Hans Goudey
March 9, 2021, 14:27 (GMT)
Geometry Nodes: Expose "shade smooth" as an attribute

This patch exposes the "Shade Smooth" value as a boolean attribute.
This setting is exposed as a check-box in the mesh data properties,
but the value is actually stored for every face, allowing some faces
to be shaded smooth with a simple per-face control.

One bonus, this allows at least a workaround to the lack of control
of whether meshes created by nodes are shaded smooth or not: just use
an attribute fill node.

Differential Revision: https://developer.blender.org/D10538
March 9, 2021, 14:19 (GMT)
Cleanup: add resource manager for cryptomatte session.

Auto frees cryptomatte session when it the pointer is collected from the
stack.

Reviewed By: Jacques Lucke

Differential Revision: https://developer.blender.org/D10667
Revision cdb0b3c by Ankit Meel
March 9, 2021, 13:49 (GMT)
Compositor: Silence -Wself-assign

Use member initializer list for constructor.
Use `this->` for member function.
Introduced in rBef53859d24a9720882e3ca6c5415faefec6fb82c

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