Blender Git Loki

Blender Git "lineart-bvh" branch commits.

Page: 9 / 49

May 1, 2021, 08:12 (GMT)
Nodes: Add a callback to check for valid socket type

This adds a callback to bNodeTreeType to check which socket types are
valid for the tree type. Function has been implemented for the normal
tree types, and can be implemented for custom node trees with python,
by adding a `classmethod` to the tree. However, only builtin socket
types are supported.

This is relevant for T87049, but it also has the advantage that it is
now clear which node trees support which sockets. Previously this
was assumed to be known by all developers.

Differential Revision: https://developer.blender.org/D10938
May 1, 2021, 08:12 (GMT)
Fix crash running window operators in background mode
May 1, 2021, 08:12 (GMT)
Fix sculpt mask operator crash running without a 3D view

Add missing operator poll, depend on the 3D view for all
sculpt paint/mask operators.
May 1, 2021, 08:12 (GMT)
Fix missing NULL check in grease-pencil clear strokes
May 1, 2021, 08:12 (GMT)
Fix potential buffer overrun in drw_shader_dependencies_get

Logical error let this function to write one past the buffer bounds.
May 1, 2021, 08:12 (GMT)
Cleanup: remove redundant assignments & NULL pointer check
May 1, 2021, 08:12 (GMT)
Cleanup: use 'else if'
May 1, 2021, 08:12 (GMT)
Cleanup: duplicate break
May 1, 2021, 08:12 (GMT)
Cleanup: avoid ambiguous parenthesis
May 1, 2021, 08:12 (GMT)
Cleanup: use const variables
May 1, 2021, 08:12 (GMT)
Cleanup: use early return in edittranslation_exec
May 1, 2021, 08:12 (GMT)
Cleanup: rename BKE_pose_channels_hash_{make => ensure}

Use the term `ensure` since it makes it clear the data is
not manipulated if it already exists.
May 1, 2021, 08:12 (GMT)
Cleanup: rename BKE_pose_channel_{verify => ensure}

The term `verify` doesn't fit with what this function does
and is sometimes used to check data is valid or to control validity
checking as with `RNA_define_verify_sdna`.
use more common term `ensure`.
May 1, 2021, 08:12 (GMT)
LineArt: Conditional ui for adding line art.
May 1, 2021, 08:12 (GMT)
Correction to own previous commit: Add missing break

Small mistake in 88400f0c03a9.
Not having this break would be harmless, but we can avoid some unnecessary work
with it.
May 1, 2021, 08:12 (GMT)
Function: add method to create shallow copy of virtual array

Creating a shallow copy is sometimes useful to get a unique ptr
for a virtual array when one only has a reference. It shouldn't
be used usually, but sometimes its the fastest way to do correct
ownership handling.
May 1, 2021, 08:12 (GMT)
Gpencil Offset Modifier - Add randomize offset options

This patch adds the Randomize options that exist in the Array modifier to the offset modifier.

Currently the patch uses
```
BLI_findindex(&gpf->strokes, gps);
```
to get the index of the current stroke for making each stroke a different seed value. This is how the noise modifier also gets the stroke seed value and it is noted there as well that this method is slow, and should be fixed in the future with another method of getting the stroke index.
Other methods were explored such as using the total number of points of the stroke, but that makes the randomize options incompatible with other modifiers before it such as Multiple Strokes, Array, Build, and Simplify.

{F9591325}

Differential Revision: https://developer.blender.org/D10171
May 1, 2021, 08:12 (GMT)
Cleanup: Add float format

May 1, 2021, 08:12 (GMT)
Fix T87808: Connected proportional editing includes hidden geometry

Regression in 21b9231d7f5a248027c32dcc7daab3318390c20f
May 1, 2021, 08:12 (GMT)
Fix: missing AO factor from Cyclest Fast GI panel

The AO distance was already there, but I forgot the factor also has an impact
on this.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021