Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 556 / 5574

October 1, 2020, 13:42 (GMT)
Fix T81248: World nodetree action is linked after duplication

This was already changed for Material nodetrees on duplication in
rBa75ac18638f4.
Since it is not obvious from the UI how change World actions - and to be
consistent with Material actions, it is best to copy the action as the
default behavior.
So use generic BKE_id_copy functions with LIB_ID_COPY_ACTIONS flag [which
also enables us to get rid of `BKE_world_copy`]

Note: taking the User Preference `USER_DUP_ACT` into account here (for
both material and world actions) could be a followup step.

Maniphest Tasks: T81248

Differential Revision: https://developer.blender.org/D9046
October 1, 2020, 13:03 (GMT)
Fix T81267: bad handling of usercount for actions duplicated with some animdata.

Those actions are full proper IDs and should therefore not be affected
by flags used to duplicate 'owner' ID own data.
October 1, 2020, 12:37 (GMT)
Fix T80395: Cycles baking crash when Surfaces are disabled in the view layer

Always enable surfaces for baking, otherwise there is nothing to bake to.

Differential Revision: https://developer.blender.org/D9015
October 1, 2020, 12:29 (GMT)
Cleanup: clang-format
October 1, 2020, 12:25 (GMT)
Fix missing UI elements for the new Brown-Conrady distortion model

Differential Revision: https://developer.blender.org/D9072
October 1, 2020, 12:11 (GMT)
Fx several issues with Outliner's collection editing re linked/override.

Most collection operations should not be allowed when either the scene
or the parent collection are linked or liboverrides.

This commit adds more stricter checks in both polling and execution
aspects of several related operators.

Fix T81282: Crash on instance to scene of a collection of a linked scene.
October 1, 2020, 10:13 (GMT)
Fix some inactive modifier properties not being editable

The convention is to keep inactive settings editable even if they are grayed
out for having no effect due to other settings.
October 1, 2020, 10:05 (GMT)
Windows: workaround to make Windows Ink tablet API work

Now Wintab is not initialized when starting Blender with the tablet API
preference set to native, since that disables Windows Ink.

Note that changing the tablet API requires restarting Blender for changes
to take effect. This serves as a stopgap to allow use of Windows Ink until
runtime API switching is merged.

Differential Revision: https://developer.blender.org/D9051
October 1, 2020, 09:53 (GMT)
macOS: support for key repeat events in keymaps

Differential Revision: https://developer.blender.org/D8882
Revision 63c906e by Ankit Meel
October 1, 2020, 08:56 (GMT)
Fix T81340: UBSan: addition of unsigned offset causes overflow

The warning:
runtime error: addition of unsigned offset to 0x61a0000b22d8
overflowed to 0x61a0000b22b8

Fix T81340 (partially)

Reviewed By: campbellbarton

Maniphest Tasks: T81340

Differential Revision: https://developer.blender.org/D9063
October 1, 2020, 05:03 (GMT)
Cleanup: avoid applying offset to null pointer

Based on D9069 by @ankitm.
October 1, 2020, 04:49 (GMT)
Cleanup: avoid member access within null pointer

While harmless, UBSan warns about this.
Prefer offsetof where possible since it's more readable.
October 1, 2020, 04:32 (GMT)
Cleanup: dna_genfile API for accessing struct member offsets

- Rename `find_elem` to `elem_offset` (matching `elem_exists`).

- Remove unused `SDNA_StructMember` return argument.

- Return an offset instead of a pointer which was being converted
back into an offset by one caller,
in this case there was no way to tell the difference between
and element that doesn't exist and a struct member
at the start of the array.

Resolves UBSan warning raised in T81340.
Revision 2c31745 by Julian Eisel
September 30, 2020, 18:50 (GMT)
Fix File Browser filtering showing workspaces for "Environment" category

This is not an appropriate category for workspaces.
Mistake in 7f564d74f9ed. My intention was probably to add it to the
"Miscellaneous" category.
Revision 2cc913d by Hans Goudey
September 30, 2020, 17:31 (GMT)
Fix implicit conversion from pointer to bool

Error in 9b6c5268bc20. Also move variable declaration to where it's
used to reduce confusion.
Revision 8cbd096 by Hans Goudey
September 30, 2020, 17:21 (GMT)
Cleanup: Remove unused View2D variables and function

It looks like this code was left over from tabbed panels in the
properties editor. It wasn't used anywhere except for in one line of
the horizontally-aligned panel code that was recently removed.

Differential Revision: https://developer.blender.org/D8651
Revision 65e4bfe by Hans Goudey
September 30, 2020, 17:16 (GMT)
Cleanup: Reduce indentation

Instead of indenting the entire functional block, check for the error
case and the supported case early to make the code more readable.
Revision 60e5ebd by Brecht Van Lommel
September 30, 2020, 16:29 (GMT)
Fix Cycles CUDA kernels for Ampere not building with CUDA 11

Running Blender on Ampere cards was already possible with ptx, this fix is
needed to support building CUDA binaries.

Note the CUDA version used for official Blender builds is still 10, this is
merely the change to make it possible for those using CUDA 11 and specifying
the sm_8x kernels to be compiled.

Found by Milan Jaros.
September 30, 2020, 15:20 (GMT)
Subdivision Surfaces: make uv smooth items consistent with new boundary smooth

This adds an option to smooth UV boundaries including corners, and renames the
available options to None / Keep Corners / All.

Ref D8413
September 30, 2020, 15:20 (GMT)
Subdivision Surfaces: add boundary smooth option to modifiers

This adds the option to either smooth the entire boundary, or to keep
corners sharp, for the Subdivision Surface and Multiresolution modifiers.

This mainly helps with compatibility with other software. The default
behavior remains to smooth the entire boundary.

Differential Revision: https://developer.blender.org/D8485
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021