Blender Git Commits

Blender Git commits from all branches.

Page: 306 / 2888

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)
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 T86544: better cleanup of path given as command line argument.

When using non-default system separator in filename path, code would end up
with an absolute path mixing regular and alternative separator,
confusing the rest of the path manipulations later on.

So this commit add proper replacements of alternative separators, and
path normalization.
June 21, 2021, 14:31 (GMT)
deps/windows: add missing tbbmalloc_debug.lib

This file is being linked by blender without
it existing causing issues for debug builds.
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, 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)
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)
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)
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)
Fix: Point translate and point scale don't execute on curve data
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: 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)
Docs: update oxygen configuration to v1.9.1
June 21, 2021, 14:31 (GMT)
Cleanup: quiet array-parameter warning from GCC11
June 21, 2021, 14:31 (GMT)
Cleanup: spelling in comments
June 21, 2021, 13:40 (GMT)
Merge branch 'master' into soc-2021-uv-editor-improvements
June 21, 2021, 13:13 (GMT)
Cleanup: Silence compilation warning.
June 21, 2021, 12:59 (GMT)
Merge branch 'master' into cycles-x
June 21, 2021, 12:58 (GMT)
Implemented conversion of single values to attributes for broadcasting.
June 21, 2021, 12:42 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lineart-contained
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021