Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1047 / 5574

September 14, 2019, 14:25 (GMT)
BLI: make Map.add_or_modify more powerful

The function now allows custom return types defined
by the callbacks. This can be useful when a user of the
data structure has to implement some custom behavior.
September 14, 2019, 13:03 (GMT)
BLI: add utility to print VectorSet stats
September 14, 2019, 12:41 (GMT)
BLI: speedup adding to VectorSet by removing a check
September 14, 2019, 11:30 (GMT)
BLI: remove non const accessors in VectorSet

With this the values could have been changed without
updating the hash table.
September 14, 2019, 10:44 (GMT)
BLI: add missing include
September 14, 2019, 10:37 (GMT)
BLI: rename SetVector to VectorSet

The structure is a set built on top of a vector and not the other
way around.
September 14, 2019, 10:11 (GMT)
BLI: Improve forwarding semantics of some data structures

This makes it possible to use e.g. `std::unique_ptr` in a map.
September 14, 2019, 07:26 (GMT)
Cleanup: clang-format
September 14, 2019, 00:24 (GMT)
VSE: Add operators to add and remove fades

Fades add:
Adds or updates a fade animation for either visual or audio strips.
Fade options:
- In, Out, In and Out create a fade animation of the given duration from
the start of the sequence, to the end of the sequence, or on boths sides
- From playhead: the fade animation goes from the start of sequences under the playhead to the playhead
- To playhead: the fade animation goes from the playhead to the end of sequences under the playhead
By default, the duration of the fade is 1 second.

Fades clear:
Removes fade animation from selected sequences.
Removes opacity or volume animation on selected sequences and resets the
property to a value of 1.0. Works on all types of sequences.

Author: gdquest

Reviewed By: ISS

Differential Revision: https://developer.blender.org/D5166
September 14, 2019, 00:24 (GMT)
BLF: make library glyph cache handling thread-safe

Functions that utilize glyph cache should lock and unlock cache by
calling `blf_glyph_cache_acquire()` and `blf_glyph_cache_release()`.
Function `blf_glyph_cache_acquire()` will create glyph cache, if it doesn't exist.
Locking mutex is global and shared by all fonts.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5701
September 14, 2019, 00:24 (GMT)
VSE: prefetching

When enabled prefetching(preview panel>view settings), a pernament running job
is created, that will render frames in the background until the cache is full.
If the cache is not filled fast enough, prefetch job suspends itself
at the last moment and will wait until it has chance to "catch up".
Effectively this will decouple rendering to separate thread, so rendering
itself is a bit faster.
Cache recycling behavior will be changed to "free furthest frame to the left
of playhead if possible, otherwise rightmost frame".

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5386
September 13, 2019, 22:12 (GMT)
Cleanup: use const args, variables
September 13, 2019, 22:05 (GMT)
Cleanup: undeclared variable warnings, extra semicolon
September 13, 2019, 21:07 (GMT)
Fix T69857: image.load() API function does not load pixels

Broke after recent changes for DNA default initialization.
September 13, 2019, 21:03 (GMT)
Revert "DRW: Refactor to support draw call batching"

This reverts commit ce34a6b0d727bbde6ae373afa8ec6c42bc8980ce.
September 13, 2019, 20:49 (GMT)
macOS: Enabled posix_memalign() like on other Unix platforms.
September 13, 2019, 20:29 (GMT)
Fix (unreported) 'smooth vertex colors' operator not respecting vertex
paint mask selection

followup to rBr27bbe7cbd9b, might as well make this consistent across
all the color operations [with the exception of 'Dirty Vertex Colors'
which is python]

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5786
September 13, 2019, 20:15 (GMT)
Fix Particles: Keyed Physics crash when clicking on a particle slot
without a valid target

rB95b9680597f5 introduced code that would skip creation of GPUVertBuf
for ParticlePointCache if the keyed physics would not have a valid
target. Missing vertex buffer would lead to assert/crash.

This code is now removed (dont see a reason why this was done? afaict
2.79 also just displayed the particles without physics in this case and
this seems to be working just fine in 2.8 as well)

part of T69741

Reviewers: fclem

Maniphest Tasks: T69741

Differential Revision: https://developer.blender.org/D5781
September 13, 2019, 19:29 (GMT)
Fixed macOS build, header cleanup was too agressive.
September 13, 2019, 19:21 (GMT)
Cleanup: unused headers for readfile, versioning
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021