Blender Git Loki

Kaikki Blender Git kommitit.

Page: 330 / 8462

August 13, 2021, 14:48 (GMT)
VSE: Use lines to draw waveform

Refactor and improve waveform drawing.

Drawing now can use line strips to draw waveforms instead of only
triangle strips. This makes us able to properly visualize thin waveforms
as they would not be visible before. We now also draw the RMS value of
the waveform.

The waveform drawing is now also properly aligned to the screen pixels
to avoid flickering when transforming the strip.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11184
August 13, 2021, 14:42 (GMT)
VSE: Fix audaspace not reading ffmpeg files with start offset correctly

The duration and start time for audio strips were not correctly read in
audaspace.

Some video files have a "lead in" section of audio that plays before the
video starts playing back. Before this patch, we would play this lead in
audio at the same time as the video started and thus the audio would not
be in sync anymore.

Now the lead in audio is cut off and the duration should be correctly
calculated with this in mind.

If the audio starts after the video, the audio strip is shifted to
account for this, but it will also lead to cut off audio which might not
be wanted. However we don't have a simple way to solve this at this
point.

Differential Revision: https://developer.blender.org/D11917
August 13, 2021, 14:42 (GMT)
VSE: Fix seeking issues.

The seek pts was not correctly calculated.
In addition to that we were not seeking in the video pts time base.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11921
August 13, 2021, 14:40 (GMT)
VSE: Fix video strip duration calculation

The video duration was not read correctly from the video file.

It would use the global duration of the file which does in some cases
not line up with the actual duration of the video stream.
Now we take the video stream duration and start time into account when
calculating the strip duration.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11920
August 13, 2021, 14:39 (GMT)
VSE: Fix memory leak when adding bad image/movie strips

If the add strip operator errored out, we wouldn't free custom data allocated

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11919
August 13, 2021, 14:37 (GMT)
ViewLayer resync: Add sanity checks for objects/bases mappings.

Add a debug-only check regarding consistency of the cache (mapping from
objects to their bases) for a given ViewLayer.

Issues can happen otherwise when some code does remapping of objects,
and forgets to call `BKE_main_collection_sync_remap()` (which clears
those caches) instead of `BKE_main_collection_sync()`.
August 13, 2021, 14:37 (GMT)
Blendloader: Option to reports to skip list of recursively liboverride-resynced libs.

This extra info is not always needed/convinient to use, and requires
special attention to free the list, so allow not generating it.
August 13, 2021, 14:37 (GMT)
Fix T86883: Add/fix suport of liboverrides in relocate/reload library case.

There was already some code for that, but it was broken, and proper
resync was completely missing.

There might still be more resync needed in library linking operators
though.
August 13, 2021, 14:36 (GMT)
VSE: Fix "off by one" error when encoding audio

Before we didn't encode the audio up until the current frame.
This lead to us not encoding the last video frame of audio.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11918
August 13, 2021, 14:32 (GMT)
VSE: Flush audio encode after finishing video export

We didn't flush audio after encoding finished which lead to audio
packets being lost.

In addition to this the audio timestamps were wrong because we
incremented the current audio time before using it.

Reviewed By: Richard Antalik

Differential Revision: https://developer.blender.org/D11916
August 13, 2021, 14:30 (GMT)
Fix compile error
August 13, 2021, 14:09 (GMT)
adaptive_cloth: AdaptiveMesh: fix: aspect ratio, wrong area

Must take the non directional area (absolute value of the area) since
the order of the verts of the face may not correspond to normal of the
face always. The aspect ratio calculation should not be doing the
inversion testing as well. (This could be used for inversion testing
but without proper math backing it, don't want to use it right now).
August 13, 2021, 13:37 (GMT)
Draw seq waveforms better
August 13, 2021, 13:17 (GMT)
Fix T90595: some VSE strip properties do not identify strip name in anim
channel names

Working with multiple strips keyframes was unneccessarily difficult in
Animation Editors (since some anim channels could not be distinguished).

Namely `Crop` and `Transform` are nested structs (nested under
`Sequence`), so these were just displaying the raw struct name.
Also strip modifiers did not have their strip name in their channel
names. Now include the strip name for these.

before
{F10277439}

after
{F10277441}

Maniphest Tasks: T90595

Differential Revision: https://developer.blender.org/D12193
August 13, 2021, 12:53 (GMT)
Physics: Changed hinge constraint visualisation so that it uses the transform matrices in the format obtained from bullet, created functions to get transforms from bullet
August 13, 2021, 12:33 (GMT)
Fix FTBFS on mips64el architecture

While trying to get Blender 2.93.x LTS to build fine on all release architectures in Debian, I noticed that the misleading use of "mips" as integer variable caused problems when compiling on mips64el. The patch should fix the issue.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12194
August 13, 2021, 12:26 (GMT)
Compositor: Full frame Difference Key node
August 13, 2021, 12:10 (GMT)
Merge branch 'master' into soc-2021-curves
August 13, 2021, 11:46 (GMT)
Merge branch 'master' into soc-2021-knife-tools
August 13, 2021, 11:38 (GMT)
Knife: Enter angle snapping increment with numpad multiple times

Entering a value for angle snapping increment using the numpad was only allowed once.
To re-enter a value angle snapping had to be toggled off and back on.
Now you can repeatedly re-enter values, except values cannot have decimal points.
If a more precise angle is required, the knife tool settings exposes the angle snapping increment.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021