Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 360 / 5574

March 7, 2021, 16:03 (GMT)
Cleanup: remove dead code
March 7, 2021, 15:08 (GMT)
Cleanup: remove dead code
March 7, 2021, 13:55 (GMT)
Fix T85632 Improve Exact boolean in cell fracture of Suzanne.

The Exact boolean used in the cell fracture addon incorrectly
kept some outside faces: due to some raycasts going into open
eye socket then out of the head, leading to one ray direction
(out of 8) saying the face was inside the head. The current
code allowed 1 of 8 rays only as "inside" to accommodate the
case of a plane used in boolean to bisect. But this cell fracture
case needs more confidence of being inside. So changed the
test for intersection to require at least 3 of 8 rays to be inside.

Maybe the number of rays to indicate insideness should be exposed
as an option, to allow user tuning according to the degree of
"non-volumeness" of the arguments, but will try at least for now
to magically guess the right value of the rays-inside threshold.

Note: all of this only for the case where the arguments are not
all PWN (approx: manifold). The all-PWN case doesn't use raycast.
March 7, 2021, 13:46 (GMT)
Cleanup: compiler warnings
March 7, 2021, 13:27 (GMT)
Cleanup: fix implicit conversion warning
March 7, 2021, 13:24 (GMT)
BLI: make it harder to forget to destruct a value

Instead of returning a raw pointer, `LinearAllocator.construct(...)` now returns
a `destruct_ptr`, which is similar to `unique_ptr`, but does not deallocate
the memory and only calls the destructor instead.
March 7, 2021, 13:15 (GMT)
BLI: reduce wasted memory in linear allocator

The main change is that large allocations are done separately now.
Also, buffers that small allocations are packed into, have a maximum
size now. Using larger buffers does not really provider performance
benefits, but increases wasted memory.
March 7, 2021, 08:27 (GMT)
Cleanup: use POINTER_OFFSET macro
March 6, 2021, 16:54 (GMT)
Cleanup: use class instead of struct in forward declaration
March 6, 2021, 15:54 (GMT)
Cleanup: clang tidy
March 6, 2021, 15:51 (GMT)
Nodes: refactor derived node tree

This is a complete rewrite of the derived node tree data structure.
It is a much thinner abstraction about `NodeTreeRef` than before.
This gives the user of the derived node tree more control and allows
for greater introspection capabilities (e.g. before muted nodes were
completely abstracted away; this was convenient, but came with
limitations).

Another nice benefit of the new structure is that it is much cheaper
to build, because it does not inline all nodes and sockets in nested
node groups.

Differential Revision: https://developer.blender.org/D10620
March 6, 2021, 14:05 (GMT)
Fix T86308 Crash in Exact Boolean when have custom normal layer.

Custom Normal layers can't be interpolated, so needed a check
for non-interpolatable layers before trying to interpolate.
March 6, 2021, 08:31 (GMT)
Cleanup: remove workaround for Python 3.7x crashing with libedit

This removes workaround for T43491. It's no longer needed as
Python 3.9x supports libedit as an alternative to readline
on all platforms.
March 6, 2021, 08:26 (GMT)
Cleanup: unused arguments
March 6, 2021, 08:26 (GMT)
Cleanup: unused imports
March 6, 2021, 08:26 (GMT)
Cleanup: remove redundant draw callback
March 6, 2021, 08:00 (GMT)
Cleanup: unused variables
March 6, 2021, 07:33 (GMT)
Cleanup: comments
March 6, 2021, 07:33 (GMT)
Cleanup: rename wm_get_cursor_position

Match naming of other wm_cursor_position_* functions.
March 6, 2021, 07:33 (GMT)
Cleanup: redundant pose bone assignment
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021