Blender Git Loki

Blender Git "soc-2021-curves" branch commits.

Page: 18 / 19

June 21, 2021, 14:31 (GMT)
DataTransfer: Fix vertices being wrongly added to vgroup.

Previously, a vertex from destination mesh would always be added to all
transferred vgroup (with a 0.0 weight), even if none of its matching
sources in source mesh belonged to the matching source vgroups.

Now a destination vertex is only added to a given destination vgroup if
at least one of its source vertices belong to the matching source
vgroup.

Issue found and initial investigation by @pls in D11524, thanks!
June 21, 2021, 14:31 (GMT)
BLI_mempool: split thread-safe iteration into the private API

Splitting out thread safe iteration logic means regular iteration
isn't checking for the thread-safe pointer each step.

This gives a small but measurable overall performance gain of 2-3%
when redrawing a high-poly mesh.

Ref D11564

Reviewed By: mont29
June 21, 2021, 14:31 (GMT)
Cleanup: BLI_path_slash_native: use separator defines instead of literal values.

Even though this function is alredy using system-specific code, it's
still cleaner to use `SEP` and `ALTSEP` here.
June 21, 2021, 14:31 (GMT)
Fix T88578: crash when loading value from group output node

It remembered the wrong origin socket and couldn't find the value
anymore later on.
June 21, 2021, 14:31 (GMT)
Fix T88799: 3DViewport Stats Column Measurements

To draw the overlay stats in columns the strings must be measured to
find the longest one. In some circumstances this measurement can be
incorrect. We draw the text with a specific size yet do not explicitly
set the size before calling BLF_size. This patch properly sets the size
so that the measurement will match what will be used for output.

See T88799 for examples of measurement failure.

Differential Revision: https://developer.blender.org/D11504

Reviewed by Hans Goudey
June 21, 2021, 14:31 (GMT)
Windows: Use TBBMalloc for GMP

TBBmalloc_proxy already takes care of any allocations
being done from MSVC compiled code, some of the dependencies
like GMP cannot be build with MSVC and we have to use
mingw to build them. mingw however links against the older
msvcrt.dll for its allocation needs, which TBBMallocProxy
does not hook.

GMP has an option to supply your own allocation functions
so we can still manually redirect them to TBBMalloc.

In a test-file with a boolean geometry node, this patch
uses 32s effective CPU time compared to 52s before.

Differential Revision: https://developer.blender.org/D11435

Reviewed by Campbell Barton, Ray Molenkamp
June 21, 2021, 14:31 (GMT)
Docs: update oxygen configuration to v1.9.1
June 21, 2021, 14:31 (GMT)
Docs: Add preprocessor define for doxygen

Doxygen by default leaves out any functions inside
#ifdef blocks that it thinks are disabled.

This change adds a DOXYGEN symbol, so you can
still get the functions included in the
documentation even if the #ifdef would
have normally excluded them.

before

#if defined(_WIN32)

after

#if defined(_WIN32) || defined(DOXYGEN)

Patch provided by Campbell Barton on chat.
June 21, 2021, 14:31 (GMT)
Fix T88546: Pose slider typed input not working

Remove an unnecessary call to pose_slide_mouse_update_percentage
That call was overriding the typed value

Reviewed By: #animation_rigging, Sybren A. St�vel

Differential Revision: https://developer.blender.org/D11395

Ref D11395
June 21, 2021, 14:31 (GMT)
Cleanup: spelling in comments
June 21, 2021, 14:31 (GMT)
Fix: Point translate and point scale don't execute on curve data
June 21, 2021, 14:31 (GMT)
Cleanup: quiet array-parameter warning from GCC11
June 21, 2021, 14:31 (GMT)
Geometry Nodes: Copy spline attributes in the curve resample node

Previously only point domain attributes were copied to the result curve.
June 21, 2021, 14:31 (GMT)
Splines: Add API functions for interpolating data

First, expand on the interpolation to evaluated points with a templated
helper function, and a function that takes a GSPan. Next, add a set of
functions to `Spline` for interpolating at arbitrary intervals between
the evaluated points. The code for doing that isn't that complicated
anyway, but it's nice to avoid repeating, and it might make it easier
to unroll the special cases for the first and last points if we require
the index factors to be sorted.
June 21, 2021, 14:31 (GMT)
Geometry Nodes: Add Convex Hull Node

This commit adds a node to output the convex hull of any input geometry
as a mesh, which is an enclosing geometry around a set of points.
All geometry types are supported, besides volumes.

The code supports operating on instances to avoid copying all input
geometry before the operation. The implementation uses the same backend
as the operation in edit mode, but uses Mesh directly instead of BMesh.

Attribute transfer is not supported currently, but would be a point of
improvement for the future if it can work in a predictable way on
different geometry input types.

Differential Revision: https://developer.blender.org/D10925
June 21, 2021, 06:44 (GMT)
Exposed 2 functions in editcurve.c and used in curve pen
June 20, 2021, 15:50 (GMT)
Changed data initialization to fix warning
June 19, 2021, 13:55 (GMT)
Cleanup: Addressed several build warnings and style guide issues
June 18, 2021, 17:43 (GMT)
Fixed bug where the mouse stops tracking handles
June 16, 2021, 17:35 (GMT)
Added modal keymaps
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021