Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2 / 8462

December 30, 2021, 22:39 (GMT)
Cleanup: Use switch to get gpu shader name

Rather than using the array syntax that doesnt work in C++,
use a switch state which is also much easier to read.
December 30, 2021, 22:35 (GMT)
Cleanup: Simplify attribute transfer
December 30, 2021, 22:30 (GMT)
Cleanup: Simplify mapping from vertices to edges
December 30, 2021, 18:59 (GMT)
Cleanup, add selection outputs to all modes, simplify naming
December 30, 2021, 17:42 (GMT)
Nodes: Convert several shader nodes to c++

Also add file namespace

This is needed to use new node APIs

Differential Revision: https://developer.blender.org/D13690
December 30, 2021, 15:15 (GMT)
Merge branch 'master' into temp-geometry-nodes-extrude-mesh
December 30, 2021, 14:32 (GMT)
Merge branch 'master' into asset-greasepencil
December 30, 2021, 11:48 (GMT)
Fix T93868: GPencil material filter does not work with instances

When the material is used in several objects, the filter by material is not working as expected because the internal pointers are different due eval version.

Now, the original version of the material is compared to keep same address.
December 30, 2021, 10:29 (GMT)
Fix T93134: Set origin broken for curve edit mode

Bug: Set Origin causes unexpected offset on Grease Pencil strokes when Curve Editing is enabled.
Fix: Add transformation of editcurve points in `object_origin_set_exec`.

Reviewed By: #grease_pencil, antoniov

Maniphest Tasks: T93134

Differential Revision: https://developer.blender.org/D13273
December 30, 2021, 10:18 (GMT)
Fix T93163: GPencil scale thickness fails in negative scales

Before the negative scales produced a thickness invalid. Now, the value is used in absolute value to avoid this situation.
December 30, 2021, 01:22 (GMT)
Nodes: Improve link drag search for Math and Vector Math nodes

Exposes math operations via rna emums.

This uses the rna enum to build the search list.

Differential Revision: https://developer.blender.org/D13680
Revision 6d7dbdb by Hans Goudey (master)
December 30, 2021, 00:39 (GMT)
Point Cloud: Optimize bounding box calculation

This is analagous to 6a71b2af66cf10556b21 which did the same
thing for mesh data. Two differences are that here the coordinates
are simply `float3`, and we account for the radius if it's available.
Here I observed a similar performance increase, from 50ms
average to 10ms average, with 16 million points, a 5x speedup.

The calculation is about 1.4 times faster when no radius is used, down
to 7.3ms average. Before, the calculation was only 1.2 times faster.
December 29, 2021, 23:51 (GMT)
Cleanup: clang-tidy modernize-redundant-void-arg
December 29, 2021, 23:36 (GMT)
Nodes: Convert shader, texture category nodes to c++

Also add/correct file namespace

This is needed to use new node APIs

Differential Revision: https://developer.blender.org/D13688
December 29, 2021, 22:59 (GMT)
Merge branch 'master' into temp-geometry-nodes-extrude-mesh
Revision c0fdf16 by Hans Goudey (master)
December 29, 2021, 22:53 (GMT)
Fix T94454: Python API curve to mesh use after free without depsgraph

This was caused by a mistake in eb0eb54d9644c5139, which removed
the clearing of the curve edit mode pointers that are set when creating
the temporary data for the conversion. If they are not cleared, the
generic ID free function will also free the edit mode data, which is
wrong when the source curve is in edit mode.
December 29, 2021, 20:45 (GMT)
Modifiers: decrease maximum allocation size for Weld vertices

At the time of allocating the buffer with vertices in context, we don't
know exactly how many vertices are affected, but we do know that it is
less than or equal to twice the number of vertices killed.
December 29, 2021, 20:45 (GMT)
Cleanup: Use ensure poly normals in solidify functions
December 29, 2021, 20:44 (GMT)
Cleanup: Simplify ensure normals functions
December 29, 2021, 20:44 (GMT)
enable object cache code path
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021