Blender Git Commits

Blender Git commits from all branches.

Page: 305 / 2888

June 21, 2021, 14:31 (GMT)
UI: Correct label naming mistake for VSE text strip box background

Seems to be a copy/paste error from
rB235c309e5f86e84fb08e1ff2c5c11eb0b775c388
June 21, 2021, 14:31 (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 21, 2021, 14:31 (GMT)
Cleanup: pose slider rename "percentage" to "factor"

This patch changes occurrences of percentage to factor.

There are some usages of percentage left in there on purpose.
They are distinguished as follows:

- factor is 0-1 float
- percentage is 0-100 int

Ref D11361

Reviewed by: sybren, campbellbarton
June 21, 2021, 14:31 (GMT)
Cleanup: pose slider data types

- change vec2f to float[2]
- pass rctf as pointer
- change `const struct rctf` to `const rctf`
June 21, 2021, 14:31 (GMT)
Cleanup: pose slider use strncpy

use `STRNCPY` instead of `BLI_strncpy`

Reviewed By: sybren, campbellbarton

Ref D11363
June 21, 2021, 14:31 (GMT)
Cleanup: pose slider use enum types

use enum types in `tPoseSlideOp` instead of `short`

Reviewed By: sybren, campbellbarton

Ref D11364
June 21, 2021, 14:31 (GMT)
Cleanup: pose slider rename region to region_header

Reviewed By: sybren, campbellbarton

Ref D11365
June 21, 2021, 14:31 (GMT)
Cleanup: use sentences for pose slide comments
June 21, 2021, 14:31 (GMT)
Sequencer: Transform ImBuf Processor.

Inside the sequencer the cropping and transform of images/buffers were
implemented locally. This reduced the optimizations that a compiler
could do and added confusing code styles. This patch adds
`IMB_transform` to reduce the confusion and increases compiler
optimizations as more code can be inlined and we can keep track of
indices inside the inner loop.

This increases end-user performance by 30% when playing back aa video
in VSE.

Reviewed By: ISS, zeddb

Differential Revision: https://developer.blender.org/D11549
June 21, 2021, 14:31 (GMT)
Fix T88068: Alt+I now respects keying set

Remap {key Alt I} from `anim.delete_key_v3d` to `anim.delete_key`. This
makes it keyframe removal symmetrical with keyframe insertion ({key I}).

Both the default keymap {key Alt I} and the Industry Compatible keymap
{key Alt S} have been updated.

Reviewed By: sybren, #animation_rigging

Maniphest Tasks: T88068

Differential Revision: https://developer.blender.org/D11528
June 21, 2021, 14:31 (GMT)
Performance: Split ImBuf sampling.

When sampling ImBuf can be a char or a float buffer. Current sampling
functions added overhead by checking which kind of buffer was passed
every pixel that was sampled. When performing image processing this
check can be removed outside the inner loop adding 5% of performance
increase in the `IMB_transform` operator.
June 21, 2021, 14:31 (GMT)
LineArt: Fix crash due to empty duplicollection.
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)
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 21, 2021, 14:31 (GMT)
Cleanup: add comment
June 21, 2021, 14:31 (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 21, 2021, 14:31 (GMT)
Docs: remove deprecated parameter from bmesh docs

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

Resolves T89013
June 21, 2021, 14:31 (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 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)
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
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021