Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 243 / 5574

June 10, 2021, 23:01 (GMT)
Nodes: move mix rgb node to C++

Prepare node for conversion to Geometry Nodes.

There should be no functional changes.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D11506
June 10, 2021, 21:45 (GMT)
UI: Correct label naming mistake for VSE text strip box background

Seems to be a copy/paste error from
rB235c309e5f86e84fb08e1ff2c5c11eb0b775c388
June 10, 2021, 18:03 (GMT)
deps/windows: add missing tbbmalloc_debug.lib

This file is being linked by blender without
it existing causing issues for debug builds.
June 10, 2021, 16:37 (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 10, 2021, 16:35 (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 10, 2021, 15:24 (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.
Revision 53c98e4 by Eitan / Hans Goudey
June 10, 2021, 15:16 (GMT)
Geometry Nodes: Add Texture and Material options to switch node

These new socket types can be supported in the switch node
along with the others.

Differential Revision: https://developer.blender.org/D11560
June 10, 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 10, 2021, 12:50 (GMT)
Fix: Build error with MSVC

rB4f81b4b4ce29 mistakenly left out the changes
to platform_win32.cmake causing a linker error
when WITH_GMP and WITH_TBB_MALLOC_PROXY were on.
June 10, 2021, 11:32 (GMT)
Docs: remove deprecated parameter from bmesh docs

The perimeter itself was removed but the documentation wasn't updated.

Resolves T89013
June 10, 2021, 11:10 (GMT)
Cleanup: move endian values from BKE_global into BLI_endian_defines

This change was prompted by D6408 which moves thumbnail extraction into
a shared function that happens use these endian defines but only links
blenlib.

There is no need for these defines to be associated with globals
so move into their own header.
June 10, 2021, 11:05 (GMT)
Cleanup: add comment
June 10, 2021, 10:15 (GMT)
Add unit for time stored in seconds

Allows to define properties which will have proper units displayed
in the interface. The internal storage is expected to be seconds
(which matches how other times are stored in Blender).

Is not immediately used in Blender, but is required for the upcoming
feature in Cycles X (D11526)

The naming does not sound very exciting, but can't think of anything
better either.

For test it probably easiest to define FloatProperty with subdtype
of TIME_ABSOLUTE.

Differential Revision: https://developer.blender.org/D11532
June 10, 2021, 09:33 (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 10, 2021, 07:04 (GMT)
Cleanup: spelling in comments
June 10, 2021, 06:51 (GMT)
Cleanup: quiet array-parameter warning from GCC11
June 10, 2021, 06:34 (GMT)
Docs: update oxygen configuration to v1.9.1
June 10, 2021, 00:44 (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 10, 2021, 00:34 (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
Revision a3226bd by Hans Goudey
June 9, 2021, 21:51 (GMT)
Fix: Point translate and point scale don't execute on curve data
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021