Blender Git Loki

Kaikki Blender Git kommitit.

Page: 857 / 8462

March 7, 2021, 14:34 (GMT)
Merge branch 'master' into cycles_procedural_api
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, 12:40 (GMT)
XR: Move actions from keymaps to actionmaps

Previously, properties for XR actions were stored in keymaps but they
are now stored in a separate XR "actionmaps" system. Although the
actionmap system/API has many similarities to the keymaps, it is
significantly less complex since it does not involve any diff-ing of
default/addon/user configurations (at least at the moment).

Another big distinction between keymaps and actionmaps is that
actionmaps and properties are saved to blend files. This allows users
to set up a VR scene with actions and properties and share working
versions with others, without the need to import/export config files.
However, actionmap import/export is also supported via the addon.

There is still a fair amount of refactoring left to do but at least
this commit removes XR involvement from the keymaps while preserving
most of the existing XR action functionality (i.e. default actions
and user-configurable actions).
March 7, 2021, 12:00 (GMT)
commit before merge
March 7, 2021, 09:54 (GMT)
Merge branch 'master' into xr-actions-D9124
March 7, 2021, 09:33 (GMT)
XR: "deselect_all" by default for raycast select
March 7, 2021, 09:29 (GMT)
Fix build error when disabling WITH_XR_OPENXR
March 7, 2021, 08:27 (GMT)
Cleanup: use POINTER_OFFSET macro
March 7, 2021, 02:14 (GMT)
USD Import: Scale option fixes.

Updated the code to apply the global scale option, which
was previously ignored. Fixed application of global scale
in the xform reader matrix calculation to only apply the
scale to root objects. Also fixed bug in setting the
is_constant flag and simplified some of the code.
March 6, 2021, 20:54 (GMT)
Merge branch 'master' into temp-gpencil-bezier-v2
March 6, 2021, 20:54 (GMT)
GPencil: Cleanup + clang
March 6, 2021, 20:53 (GMT)
GPencil: Fix small selection bug
March 6, 2021, 20:53 (GMT)
GPencil: Disable partial update

This will have to be changed at some point, but for now,
never use partial update.
March 6, 2021, 20:52 (GMT)
GPencil: Sync selection when generating new curve
March 6, 2021, 20:51 (GMT)
GPencil: Offset modifier for curves

This implementation is initialy added so it's easy to test runtime data
for curves.
March 6, 2021, 18:40 (GMT)
GPencil: Add vertex color select for curves
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021