Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 325 / 5574

March 30, 2021, 08:13 (GMT)
Fix simple solidify wrong custom data on large ngons

Fixes an unreported issue that vertex data on large ngons (>255)
is messed up due to type conversion to char and back to int.

Ref D10734
March 30, 2021, 07:46 (GMT)
Cleanup: animation, remove `BONE_UNKEYED` flag

Remove the `BONE_UNKEYED` flag. It was only written (set/cleared) but
never actually read.

Also remove `framechange_poses_clear_unkeyed()` as its only function was
to clear the `BONE_UNKEYED` flag. It wasn't used anywhere either.

The only code that used the flag was the `extract_pose_from_action()`,
which was removed in 2869ce6cfab3aa4ff471bef6e49ac6fe15426247 (2009).

No functional changes.
March 30, 2021, 06:08 (GMT)
Cleanup: clang-tidy warning.
March 30, 2021, 06:08 (GMT)
Cleanup: clang-tidy warning.
March 30, 2021, 05:19 (GMT)
Knife: snap refactor, prepare for snap gizmo

Minor changes preparing for snap gizmo inclusion.

- Extract `knife_snap_edge_in_angle` into a utility function.
- Check the snap vertex on closest edge instead of the face.
- Add MODE_INVOKING state.
- Remove unnecessary NULL checks.
- Control 'ignore_edge_snapping' while dragging instead of checking
dragging in `knife_snap_update_from_mval`.

Ref D8220
Revision 73b5afd by Hans Goudey
March 30, 2021, 03:41 (GMT)
Cleanup: Fix incorrect socket list name
Revision d037fef by Hans Goudey
March 30, 2021, 03:15 (GMT)
Cleanup: Use float4x4 type and constructor
March 30, 2021, 01:11 (GMT)
MSVC: ASAN support for VS 16.9

This enables ASAN support when used with VS 16.9
enable as usual in cmake with the WITH_COMPILER_ASAN
option, or when using make.bat just tag on `asan'
to the invocation, ie: `make lite 2019 asan`

MSVC: Asan support for 16.9

This enables ASAN support when used with VS 16.9
enable as usual in cmake with the WITH_COMPILER_ASAN
option, or when using make.bat just tag on `asan'
to the invocation, ie: `make lite 2019 asan`

Differential Revision: https://developer.blender.org/D7794
Reviewed By: brecht, sergey
March 30, 2021, 00:58 (GMT)
VSE: Fix image adding inconsistency

When adding images with operator, image file path is split into filename
and directory passed to load function in name and path fields of
SeqLoadData struct. This is because when loading images directory
and filenames are split.

RNA API function passes whole path in path filed.

Apart from loading API inconsistency, this causes initial image loading
to fail, so strip resolution is not set. Also name field of SeqLoadData
should be reserved for strip name.

Let operator code concatenate and split filepath when needed so loading
API can be consistent with RNA API and also between strip types.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10818
March 30, 2021, 00:58 (GMT)
VSE: Add fit method to RNA API

Add fit_method argument to new movie and image RNA API functions.
This argument is optional.

ref T86925

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10816
March 30, 2021, 00:58 (GMT)
Fix T86944: Incorrect seeking in some movies

`av_seek_frame()` failed to seek to nearest I-frame. This seems to be
a bug or not implemented feature in FFmpeg. Looks like same issue as
ticket https://trac.ffmpeg.org/ticket/1607 on ffmpeg tracker.

If seeking is done using format specific function (`read_seek2`)
field of `AVInputFormat` is set, `see av_seek_frame()`, use
`av_seek_frame()` function. Otherwise use wrapper that actively searches
for I-frame packet.

Searching is flexible and tries to do minimum amount of work. Currently
it is limited to equivalent of 25 frames, which may not be enough for
some files, but there may be files with no I-frames at all, so it is
best to keep this limit as low as possible. Previously this problem was
masked by preseek, which was hard-coded to 25 frames. This was removed
in rB88604b79b7d1.

If this approach would be unnecessary for some formats, in worst case
file would be seeked 2 times which is very fast, so there will be no
visible impact on performance.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10845
Revision 7d46791 by Hans Goudey
March 29, 2021, 23:48 (GMT)
Cleanup: Decrease variable scope
March 29, 2021, 22:00 (GMT)
Cycles: disable NanoVDB for AMD OpenCL

It is causing issue with AMD OpenCL drivers, due to a potential driver bug.

Ref T84461
March 29, 2021, 17:32 (GMT)
Gizmo: Use a utility function to read snap gizmo values

No functional changes.

This makes the `ED_gizmotypes_snap_3d_update` function more specialized.
March 29, 2021, 17:07 (GMT)
Snap Gizmo: Minor optimization when updating gizmo properties

As the Snap Gizmo properties are used as return of snapping values and
therefore updated with each change, use callbacks to get these values
through RNA properties.

Differential Revision: https://developer.blender.org/D8525
Revision a702ca3 by Ankit Meel
March 29, 2021, 16:56 (GMT)
Tests/bpy: Add installation verification test

Makes it slightly easier to test whether the installed module works
or not. Depends on D10656

Ref T86579
Reviewed By: mont29, campbellbarton
Differential Revision: https://developer.blender.org/D10665
Revision fbe2c3f by Ankit Meel
March 29, 2021, 16:55 (GMT)
Tests: disable python tests for blender as python module

Avoid CTest errors and exit codes due to test failures which depend
on Blender executable.

Ref T86579
Reviewed By: mont29, campbellbarton
Differential Revision: https://developer.blender.org/D10656
Revision 241f05d by Ankit Meel
March 29, 2021, 16:55 (GMT)
macOS/bpy: accommodate portable builds, and multi-config generators.

Old code's `install` step did not guarantee that all script files
will be copied from source folder to build folder _before_ copying from
build folder to site-packages. That caused incomplete installation.
Fixed by copying scripts etc., only once. Also match the behavior on
Linux: install to site-packages only if `WITH_INSTALL_PORTABLE` is OFF.

Also fix install and launch issues with Xcode.
Revision 77ac67d by Ankit Meel
March 29, 2021, 16:54 (GMT)
Cleanup/CMake: remove trailing `/`; whitespace.
March 29, 2021, 15:10 (GMT)
Cleanup: Use Bitflags For Booleans.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021