Blender Git Commits

Blender Git "master" branch commits.

Page: 109 / 5574

October 13, 2021, 14:10 (GMT)
Geometry Nodes: Scale Instances Node

Adds a node that can scale a geometry's instances. With "Local" turned
on, the instance is scaled individually from the center point input,
while when local space is turned off, it's more like the transform
node, except it scales outward from the center point instead of only
from the origin.

Differential Revision: https://developer.blender.org/D12681
October 13, 2021, 14:06 (GMT)
Geometry Nodes: Add Selection to Instance on Points

Add a boolean selection field to the Instance on Points node.
This will select which points from the source geometry will be used
to create the instances.

Differential Revision: https://developer.blender.org/D12847
October 13, 2021, 14:02 (GMT)
Geometry Nodes: Translate Instances Node

Adds a node that can translate instances in the transform space of
the modifier object, or the local space of their original transform.
One reason to have a special node for instances is that they always
have the existing transform, unlike mesh or point cloud points.

Differential Revision: https://developer.blender.org/D12679
October 13, 2021, 13:53 (GMT)
Fix T92136: Leak accessing evaluated depsgraph data from Python

Copy-on-write data blocks could be referenced from python but were not
properly managing python reference counting.

This would leak memory for any evaluated data-blocks accessed by Python.

Reviewed By: sergey

Ref D12850
October 13, 2021, 13:47 (GMT)
Cleanup: Remove unused code paths in the depsgraph copy-on-write

Seems to be residue from an early 2.80 days: the placeholder code path
is no longer used.

Remove all the tricky code for this, and make it clear that the
`deg_expand_copy_on_write_datablock` is used on an non-expanded
datablock.

Should be no functional changes. And should help simplify D12850.

Differential Revision: https://developer.blender.org/D12852
October 13, 2021, 13:44 (GMT)
Cleanup: use typedef struct for BLODataBlockInfo.
October 13, 2021, 13:41 (GMT)
Geometry Nodes: Material Index, Set Material

Add Get/Set Nodes for Material Index
Rename Assign Material to Set Material

Differential Revision: https://developer.blender.org/D12837
October 13, 2021, 13:37 (GMT)
Fix T92153: use-after-free with anonymous attributes

Differential Revision: https://developer.blender.org/D12851
October 13, 2021, 12:31 (GMT)
UI: Make menu item use theme roundness

Menu items ignore the roundness setting since they spread left to right.
This patch makes it so menu items use the theme preference instead of
hardcoded square corners. Providing more flexibility to themes.

All built-in and included themes already have this set so no need to update them. For the default themes (Dark/Light) roundness is 0.4.

{F10950727, size=full}

The motivations behind this change are:
* To be more consistent with other widgets.
* Improve themes flexibility.
* Match padding with other elements that have like the Search field:

{F10950746, size=full}

Reviewed By: #user_interface, Severin

Differential Revision: https://developer.blender.org/D12813
Revision 72e81a4 by Peter Kim
October 13, 2021, 11:56 (GMT)
Extern: Add modifications diff for TinyGLTF

This should have been added in ee49991999c9.
October 13, 2021, 11:35 (GMT)
Fix T92113: On assets, replace "Fake User" button with "Clear Asset" button.

Change is simple enough, but we abuse a bit the UI code here to get a
similar 'look' as the fake user button for the new Asset one, while
still being able to call an operator instead of editing directly a RNA
value.

Reviewed By: Severin, sybren

Maniphest Tasks: T92113

Differential Revision: https://developer.blender.org/D12839
October 13, 2021, 10:29 (GMT)
Revert "Fix T92136: Leak accessing evaluated depsgraph data from Python"

This reverts commit 0558907ae674ebe81dc8910a6615fc32ce675d70.

Based on discussion with Sergey, having Python references to un-expanded
data should not happen - this change needs to be reconsidered.
October 13, 2021, 10:01 (GMT)
Fix Cycles viewport after session reset

Happens i.e. when changing compute device.

A more proper follow-up to the on-demand display driver creation change.
October 13, 2021, 09:59 (GMT)
Fix T92136: Leak accessing evaluated depsgraph data from Python
October 13, 2021, 09:46 (GMT)
Fix Cycles assert in viewport after recent change

Create display early on, so that ready_to_reset() passes assert test
for use for display actually configured.
October 13, 2021, 09:20 (GMT)
Fix possible integer overflow in Cycles baking

Ensure math happens on size_t type instead of int followed by a cast
to the size_t.
October 13, 2021, 09:20 (GMT)
Fix Cycles backing issues when using multiple devices

The pixel accessor was not aware of possible offset in the
pixel padding causing some slices of the result not being
properly padded.
October 13, 2021, 09:09 (GMT)
Fix: Stops assert when baking in debug mode.

When baking in a debug build running gdb it kept asserting because a GL context was being created outside the main thread.

To fix this the patch only creates the GL context is only created for rendering (when it is actually used).

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D12767
Revision 53af51a by Hans Goudey
October 12, 2021, 22:43 (GMT)
Geometry Nodes: Add "XYZ" label to instance on points scale
Revision 9e3c84a by Hans Goudey
October 12, 2021, 22:33 (GMT)
Geometry Nodes: Add units to set radius node inputs
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021