Blender Git Commits

Blender Git "master" branch commits.

Page: 1101 / 5574

August 1, 2019, 14:31 (GMT)
Cleanup: remove unnecessary include
August 1, 2019, 14:01 (GMT)
Fix T66040: Make Data Transfer' Mix Factor multiply with vgroup weights when given, instead of ignoring it.

Brings behavior of those options in line with the VGroup editing
modifiers ones e.g.
August 1, 2019, 13:14 (GMT)
Alembic: fix heap-use-after-free error

The mesh can be freed by BKE_mesh_nomain_to_mesh(), so we need to get
the `ME_AUTOSMOOTH` flag before that call, and not after.
August 1, 2019, 12:54 (GMT)
Fix T61935: load camera transforms from Alembic files written by Meshroom

Meshroom writes two hierarchies to Alembic, one rooted at
`/mvgRoot/mvgCameras` and the other at `/mvgRoot/mvgCamerasUndefined`.
These paths have no schema definition, and thus are ignored by Blender.
The cameras themselves have those schemaless paths as parent, and have
their transforms marked as "inherited", e.g. relative to their parent.
As these cameras have no valid parent, there is no Blender object to use
to convert their local matrices to world matrices, and Blender just
decided to reset them to the unit matrix.

Now "inherited" transforms without a parent in Blender are interpreted
as world transforms. Reparenting those objects to a Blender object will
re-interpret the transforms as local to the parent again.
August 1, 2019, 11:37 (GMT)
FFmpeg pixel format conversion improvements

FFmpeg expects Blender to feed it pixels in the output pixel format. If
the output pixel format is different than Blender's RGBA, a conversion
is needed (via FFmpeg's `sws_scale()` function). There were a few issues
with this conversion (and surrounding code) that are fixed in this
commit:

- When conversion was necessary a temporary buffer was allocated and
deallocated for every frame. This is now allocated once and re-used.
- Copying data to the buffer was done byte-for-byte. On little-endian
machines it is now done line-by-line using `memcpy` for a little speedup.
- The decision whether pixel format conversion is necessary is now
correctly done based on the pixel format Blender is actually using.
- The pixel format of the buffer sent to FFmpeg is no longer hard-coded
incorrectly to a fixed pixel format, but uses the actual output pixel
format. This is fixes T53058 properly, making RGB QTRLE export possible.
- I added some comments to make it clear which pixel format is referred
to (either Blender's internal format or the FFmpeg output format).

Combined these improvements not only correct a bug (T53058) but also
results in approximately 5% speed improvement (tested with a 117-frame
shot from Spring, loaded as PNGs in the VSE, encoding to h.264 with
preset 'realtime').

Reviewed By: brecht, sergey

Differential Revision: https://developer.blender.org/D5174
August 1, 2019, 11:30 (GMT)
Fix T68055: mesh selection issues, once blend is loaded second time in a Blender session

The depth attachment of the framebuffer was missing.
August 1, 2019, 10:53 (GMT)
Added FFmpeg preset for WebM + VP9 video + Opus audio

This is a standard combination (VP9 video, Opus audio, in WebM container),
so it's nice to have as a preset.
August 1, 2019, 10:52 (GMT)
I18n messages extraction: do not report multi-lines messages anymore.

Those are now supported for tooltips.
August 1, 2019, 10:52 (GMT)
Cleanup a bit i18n message extraction code.
August 1, 2019, 10:32 (GMT)
Keymap: use Ctrl-/ to toggle comments

Consistent with many code editors, see: D5175
August 1, 2019, 10:31 (GMT)
Text: toggle comment operator
August 1, 2019, 10:28 (GMT)
Cleanup: quiet gcc warning 'alloc-size-larger-than'
August 1, 2019, 09:27 (GMT)
Cleanup: use doxy sections for text operators
August 1, 2019, 09:22 (GMT)
Fix T68036: VSE: 'Remove Gaps' causes audio to go out of sync

Reviewers: sergey

Maniphest Tasks: T68036

Differential Revision: https://developer.blender.org/D5391
August 1, 2019, 09:17 (GMT)
Linux: resolve issue compiling on mint 18.3

size_t wasn't declared. While this could be resolved differently,
convention is to include BKE after BLI.
August 1, 2019, 08:39 (GMT)
Cleanup: use _ex suffix instead of _ext

Convention is to use ex, not ext for extended
versions of a functions.
August 1, 2019, 07:35 (GMT)
Cleanup: misc spelling fixes in variable names & defines

T68045 by @luzpaz
August 1, 2019, 07:23 (GMT)
Cleanup: remove redundant LMB select default.
August 1, 2019, 07:23 (GMT)
Fix error setting the user preferences

User preferences from the startup.blend was still being used,
fixing this exposed missing theme initialization, now fixed.
August 1, 2019, 06:14 (GMT)
Fix error de-duplicating BLI_file_read functions

Own error in recent code de-duplication: a345f56ce3331
causing issues on Windows.

Flipped argument for reading the exact size.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021