Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 469 / 5574

Revision 719dfd4 by Ankit Meel
December 4, 2020, 15:43 (GMT)
macOS deps: Support building clang tidy

This patch builds clang-extra-tools on macOS for the
clang-tidy binary. The script "run-clang-tidy.py" is
also harvested because using the `CMAKE_C[XX]_CLANG_TIDY`
option can miss out some files (like makesrna), and using the
script is faster as it does not compile the files.
Thanks to `@LazyDodo` for the base patch D8502.

Reviewed By: LazyDodo, sebbas, #platform_macos
Differential Revision: https://developer.blender.org/D9450
December 4, 2020, 15:31 (GMT)
Cleanup: Deduplicate constraint event code
December 4, 2020, 15:31 (GMT)
Transform: Don't use Automatic Constraint Plane in 2D editors

Technically it shouldn't have any effect on these editors.

The key tips in the header can be misleading.

The effect it previously had was not intended.
December 4, 2020, 14:54 (GMT)
i18n utils CLI: add missing RTL process command.
December 4, 2020, 14:14 (GMT)
i18n utils: Cleanup.
December 4, 2020, 14:14 (GMT)
i18n utils: reduce dependency to Blender bpy API, step 1.

This involves re-implementing some of Blender-defined helpers in utils,
we keep debug code to ensure those are still matching on
behavior/results sides.

This will allow to get more i18n tools independent from blender
executable.
December 4, 2020, 14:14 (GMT)
i18n utils : Reduce dependency to Blender bpy API, step 2.

Remove some top imports of bpy, only import it in a few specific
functions that only make sense when used whithin Blender anyway.
December 4, 2020, 14:14 (GMT)
i18n utils: Add a helper to list and match po files with languages codes.

This code was previously done in the add-on, but we'll need it for the
CLI tool as well, so now it is a utils generator instead.
December 4, 2020, 14:14 (GMT)
i18n utils: Add first version of the CLI wrapper around i18n tools.

Plan is to use that in new 'buildbot' pipeline to automate generation of
i18n files for Blender.
Revision 04d3b54 by Hans Goudey
December 4, 2020, 14:03 (GMT)
Cleanup: Declare variables where initialized
Revision 4bb5314 by Hans Goudey
December 4, 2020, 14:01 (GMT)
Cleanup: Use typedef for button string info type

Before, it wasn't clear what the int in `uiStringInfo` was supposed to
store. Using a typedef can make this someone more explicit.
December 4, 2020, 13:49 (GMT)
Revert "Fix T83177: Industry Compatible keymap: MMB-dragging to transform engages axis-constraining on release"

This reverts commit c0677b662f4b13429c0738b99ace85403385ff38.
December 4, 2020, 13:49 (GMT)
Fix T83177: Industry Compatible keymap: MMB-dragging to transform engages axis-constraining on release

With rBc0677b662f4b, we try to track all modal events in order to detect the
one corresponding to the release.

But modifier keys can mask the modal event and thus confirm realease ends up
being skipped.

This resulted in the T83387.

With this commit we now read the actual key drop value in the modal event.

This fixes T83387
December 4, 2020, 12:04 (GMT)
Cycles: Add support for shader raytracing in OptiX

Support for the AO and bevel shader nodes requires calling "optixTrace" from within the shading
VM, which is only allowed from inlined functions to the raygen program or callables. This patch
therefore converts the shading VM to use direct callables to make it work. To prevent performance
regressions a separate kernel module is compiled and used for this purpose.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9733
December 4, 2020, 11:46 (GMT)
Cleanup: Clang-Tidy, modernize-use-using

Replace `typedef` with `using` in C++ code.

In the case of `typedef struct SomeName { ... } SomeName;` I removed the
`typedef` altogether, as this is unnecessary in C++. Such cases have been
rewritten to `struct SomeName { ... };`

No functional changes.
December 4, 2020, 11:31 (GMT)
Cleanup: Clang-tidy, actually enable the modernize-use-override rule

Forgot this in rB168909d9741.

No functional changes.
December 4, 2020, 11:02 (GMT)
Cleanup: Clang-Tidy, modernize-use-override

No functional changes.
December 4, 2020, 10:28 (GMT)
Cleanup: clang-format

Rerun `make format`.

No functional changes.
December 4, 2020, 10:28 (GMT)
Cleanup: Clang-Tidy, modernize-deprecated-headers

No functional changes.
December 4, 2020, 09:50 (GMT)
Cleanup: replace NULL with nullptr in C++ code

No functional changes.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021