Blender Git Commits

Blender Git "master" branch commits.

Page: 14 / 5574

December 14, 2021, 10:32 (GMT)
Cleanup: consistent naming for the blender file name
December 14, 2021, 10:17 (GMT)
Cleanup: remove oudated comment from early COW development

Added in 161ab6109e265ea906e0308ab404f95282534770
December 14, 2021, 10:08 (GMT)
Cleanup: use typed enum for wmDrag.flags

Also use 'e' prefix for enum type name.
December 14, 2021, 09:56 (GMT)
Cleanup: reorganize doxygen modules

- Nest compositor pages under the compositor module
- Nest GUI, DNA/RNA & externformats modules under Blender.
- Remove modules from intern which no longer exist.
- Add intern modules (atomic, eigen, glew-mx, libc_compat, locale,
numaapi, rigidbody, sky, utfconv).
- Use 'intern_' prefix for intern modules since some of the modules
use generic terms such as locale & atomic.
December 14, 2021, 07:35 (GMT)
Cleanup: resolve parameter mis-matches in doc-strings

Renamed or removed parameters which no longer exist.
December 14, 2021, 05:17 (GMT)
Cleanup: correct unbalanced doxygen groups

Also add groups in some files.
Revision c1f5d8d by Richard Antalik
December 14, 2021, 00:16 (GMT)
Fix T91005: Autosplit produces unusable files

Audio PTS was reset for each new file. This caused misalignment of video
and audio streams. In Blender, these files can't be loaded, other
players will fail to align audio and video.

Since timestamps are reset intentionally, reset also video stream
timestamps.

There were other bugs:
After timestamp was reset for audio, write_audio_frames started
encoding from timeline start until target frame, so each split video
had more audio than it should.

Also audio for last frame before splitting was written into new file.

Differential Revision: https://developer.blender.org/D13280
December 13, 2021, 23:43 (GMT)
Fix T93844: High memory usage during VSE preview

Since 88c02bf826df FFmpeg handles are freed if image is not displayed.
This change did not work correctly if strips are inside meta strip,
because overlap did not consider meta strip boundary, only strips inside
of meta strip.

Pass frame range to `sequencer_all_free_anim_ibufs`, if strip is inside
of meta strip, frame range is reduced to fit meta strip boundary, but if
meta strip is being edited, range must be set to +/-`MAXFRAME`,
otherwise playback performance would be too bad.
December 13, 2021, 22:42 (GMT)
Remove G.save_over

The difference between G.save_over and G.relbase_valid was minor.

There is one change in functionality. When saving the default-startup
file from an already loaded blend file - future save actions will
continue to write to the originally loaded file instead of prompting
the user to select a location to save the file.

This change makes saving the startup file behave the same way
"Save a Copy" does.

Reviewed By: brecht

Ref D13556
December 13, 2021, 22:42 (GMT)
Cleanup: clang-format
December 13, 2021, 22:34 (GMT)
Fix T94022: Both options GPU/CPU checked under preferences cause viewport render crash. (ARM/Metal)

This fixes crash T94022 when selecting live viewport render with both GPU & CPU devices selected. It is caused by incorrect `KernelBVHLayout` assignment. Similar to `BVH_LAYOUT_MULTI_OPTIX` for Optix, this patch adds a `BVH_LAYOUT_MULTI_METAL` to correctly redirect to the correct Metal BVH layout type.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13561
December 13, 2021, 21:13 (GMT)
Cleanup: Remove unused curve types from enum

There were a few unused enum values: `CU_CARDINAL` and `CU_BSPLINE`
This commit cleans them up from code as they were not used for
anything meaningful.

Differential Revision: https://developer.blender.org/D13554
Revision 0606adc by Hans Goudey
December 13, 2021, 19:58 (GMT)
UI: String Search: Add an optional weight parameter

This builds off of rBf951aa063f7, adding a weight parameter which can
be used to change the order of items when they have the same match
score. In the future, if string searching gets a C++ API, we could
use an optional parameter for the weight, since it is not used yet.

This will be used for the node link drag search menu (D8286).

Differential Revision: https://developer.blender.org/D13559
December 13, 2021, 16:14 (GMT)
GPencil: Add randomize options to Length modifier

This patch adds a randomize factor for the start/end lengths in the Length modifier.

Reviewed By: #grease_pencil, antoniov, pepeland, HooglyBoogly

Differential Revision: https://developer.blender.org/D12928
December 13, 2021, 16:09 (GMT)
GPencil: New Shrinkwrap modifier

his new modifier is equals to the existing mesh modifier but adapted to grease pencil.

The underlying functions used to calculate the shrink are the same used in meshes.

{F11794101}

Reviewed By: pepeland, HooglyBoogly

Differential Revision: https://developer.blender.org/D13192
December 13, 2021, 14:40 (GMT)
Cycles: add text explaining minimum requirements for Metal when no device found
December 13, 2021, 12:57 (GMT)
Cycles: enable Metal GPU rendering

This adds the remaining bits to enable Metal on macOS. There are still
performance optimizations and other improvements planned, but it should
now be ready for early testing.

This is currently only enabled on in Arm builds for M1 GPUs. It is not
yet working on AMD or Intel GPUs.

Ref T92212

Differential Revision: https://developer.blender.org/D13503
December 13, 2021, 12:51 (GMT)
Geometry Nodes: fix combining field inputs

This was an oversight in rB7b88a4a3ba7eb9b839afa6c42d070812a3af7997.
December 13, 2021, 12:48 (GMT)
Fix T93704: StructRNA.path_resolve fails silently with missing keys

Resolving the path to a missing pose-bone (for example),
was not raising an error as it should have.

Regression introduced in f9ccd26b037d43f2490d1f0263e45e775d30473d,
which didn't update collection lookup logic to fail in the case the
key of a collection wasn't found.
December 13, 2021, 12:28 (GMT)
Geometry Nodes: move up destruct instructions in procedure

This implements an optimization pass for multi-function procedures.
It optimizes memory reuse by moving destruct instructions up.
For more details see the in-code comment.

In very large fields with many short lived intermediate values, this change
can improve performance 3-4x. Furthermore, in such cases, peak memory
consumption is reduced significantly (e.g. 100x lower peak memory usage).

Differential Revision: https://developer.blender.org/D13548
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021