Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 175 / 5574

August 16, 2021, 16:57 (GMT)
PyAPI: GPUShader: make 'uniform_vector_*' less restricted

Buffers larger than required may be allowed without restriction.
August 16, 2021, 14:52 (GMT)
Add sanity NULL checks when loading sound sequences

Would cause crashes in files that had lingering invalid sound sequences around.
For example our tests/render/volume/fire.blend test file.
August 16, 2021, 13:54 (GMT)
Fix T90689, T90705: Cycles math node with 3 inputs broken after recent changes

Thanks Charlie Jolly for finding the fix.
August 16, 2021, 13:46 (GMT)
Cleanup: spelling
August 16, 2021, 13:19 (GMT)
Fix building without audaspace
August 16, 2021, 13:12 (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 16, 2021, 13:12 (GMT)
Fix T87967: M2T video seeking is broken

Bug caused by integer overflow in ffmpeg_generic_seek_workaround().
Function max_ii() was used to limit int_64tvalue.

After fixing the issue there was another issue, where near-infinite loop
was caused by requested_pos being very large and stream being cut in a
way, that it was missing keyframe at beginning.
This was fixed by checking if we are reading beyond file content.

Reviewed By: zeddb

Differential Revision: https://developer.blender.org/D11888
August 16, 2021, 13:10 (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 16, 2021, 12:52 (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 16, 2021, 12:52 (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 16, 2021, 12:52 (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 16, 2021, 12:52 (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 16, 2021, 12:52 (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 16, 2021, 09:01 (GMT)
Geometry Nodes: Add UV Smooth, Boundary Smooth options to subdivision node

Replaces the boolean option with enum menus for consistency
with the subdivision modifier (rB66151b5de3ff,rB3d3b6d94e6e).
Adds all UV interpolation options.
Original patch by Eitan. Updated by Himanshi Kalra <calra>.
{F9883204}

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D10417
August 16, 2021, 08:06 (GMT)
Cleanup: shadow variable warning
August 16, 2021, 06:58 (GMT)
Add cutom data color property for mesh comparison

Add color data type comparison for meshes, adding it as
part of comparing meshes with geometry nodes applied.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D12192
August 16, 2021, 04:35 (GMT)
Cleanup: replace macros with inline functions for font drawing

Also assert blf_font_ensure_ascii_kerning has been called in
blf_kerning_step_fast.
August 16, 2021, 04:35 (GMT)
BLF: use fast ASCII kerning for word-wrap calculations

While this wasn't a bottleneck, using the fast version of this function
removes some duplicate code that doesn't use the look-up table.
August 16, 2021, 04:35 (GMT)
Cleanup: rename kerning table to ascii_table

It wasn't obvious this was only for ASCII characters.
August 16, 2021, 04:35 (GMT)
BLF: avoid unnecessary lookups in blf_kerning_cache_new

blf_kerning_cache_new was performing many unnecessary hash lookups,
calling blf_glyph_search 32768 times. Use a lookup table to reduce this
to the number of ASCII characters (128 calls).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021