Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 636 / 5574

Revision 17dbdcc by Julian Eisel
August 7, 2020, 14:11 (GMT)
Fix T79571: "Assign Shortcut" doesn't work for "Clear Keyframes"

In the 3D View, the "Animation" keymap is not used, but the mode
specific ones. So the shortcut editing code should use these too, just
like the default keymap does.
August 7, 2020, 13:54 (GMT)
Cleanup: Delaunay 2D, silence Clang-Tidy readability-function-size

This adds a `NOLINT` marker to explicitly silence a warning from
Clang-Tidy's `readability-function-size` rule for the `incircleadapt()`
function in `delaunay_2d.c`.

No functional changes.
August 7, 2020, 13:54 (GMT)
Cleanup: Versioning: silence Clang-Tidy readability-function-size

This adds `NOLINT` markers to explicitly silence warnings from Clang-Tidy's
`readability-function-size` rule for versioning functions. Technically
these could be refactored and split up into smaller bits, but generally
they are hardly ever looked at once they're a few releases old.

No functional changes.
August 7, 2020, 13:54 (GMT)
Cleanup: PyBGL, Clang-Tidy readability-function-size fixes

This addresses warnings from Clang-Tidy's `readability-function-size`
rule in the `source/blender/python` module.

It's just `BPyInit_bgl()` that's been split up into one or two smaller
functions per OpenGL version.

No functional changes.
August 7, 2020, 13:50 (GMT)
Merge branch 'blender-v2.90-release'
August 7, 2020, 13:33 (GMT)
Fix T79201: Mantaflow: Fluid guides don't affect simulation.

This broke during the OpenVDB update for 2.90. Just making sure that guiding velocity files are being read correctly.
Revision 076a93b by Julian Eisel
August 7, 2020, 13:17 (GMT)
UI Code Quality: Use derived struct for progessbar buttons

For the main rationale behind this design, see 03b122e2a18df. Further,
this removes users of `uiBut.a1`, which is a very ugly design
choice (hard to reason about).

Part of T74432.
Revision 9f475db by Julian Eisel
August 7, 2020, 13:17 (GMT)
Fix failing assert when entering Texture Paint mode

Was unbinding the shader twice.
Revision 68c00e6 by Julian Eisel
August 7, 2020, 13:17 (GMT)
UI Code Quality: Use derived struct for color buttons

For the main rationale behind this design, see 03b122e2a18df. Further,
this removes users of `uiBut.a1`/`uiBut.a2`, which is a very ugly design
choice (hard to reason about).

Part of Part of T74432.
Revision 49f088e by Julian Eisel
August 7, 2020, 13:17 (GMT)
UI Code Quality: Use derived structs for search buttons and decorators

The current on-size-fits-all `uiBut` creates quite a mess, where it's
hard to reason about which members are free for use, under which
conditions they are used and how.
`uiBut` also has members that aren't used at times, violating the "don't
pay for what you don't use" principle.

To address this, we want to move to typed buttons, where `uiBut` is just
a base struct and each type extends it as needed. That structures data
better and type specific data is only available if it's actually used by
a button type.

Two trade-offs:
* Many casts to the derived type have to be done.
* Sometimes we change the button type after it's created. So I had to
add logic to reallocate the button for use with the new, possibly
derived struct. Ideally that wouldn't be needed, but for now that's
what we have.

Part of T74432.

Differential Revision: https://developer.blender.org/D7610

Reviewed by: Brecht Van Lommel, Campbell Barton
August 7, 2020, 12:56 (GMT)
Cleanup: pass arrays const where possible
August 7, 2020, 12:37 (GMT)
Cleanup: declare arrays arrays where possible
August 7, 2020, 11:38 (GMT)
Revert "Cleanup: Cycles, applied Clang-Format"

This reverts commit 88cc3f167f7ee404640289ed9cfd6b13f0494d98. It was
caused by running Clang-Format version 10, instead of 9 from the
precompiled libs directory.
August 7, 2020, 11:38 (GMT)
Cleanup: Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule. This should be the final commit of the series of commits that
addresses this particular rule.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: Python, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/python` module.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: Nodes, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/nodes` module.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: Modifiers, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/modifiers` module.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: IO, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/io` module.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: ImBuf, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/imbuf` module.

No functional changes.
August 7, 2020, 11:38 (GMT)
Cleanup: GPU, Clang-Tidy else-after-return fixes

This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/gpu` module.

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