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. |
August 7, 2020, 13:17 (GMT) |
Fix failing assert when entering Texture Paint mode Was unbinding the shader twice. |
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. |
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:43 (GMT) |
Post review: Minor fixes, add documentation |
August 7, 2020, 12:37 (GMT) |
Cleanup: declare arrays arrays where possible |
August 7, 2020, 12:28 (GMT) |
WIP: add fields log related fields to UserDef |
August 7, 2020, 12:22 (GMT) |
Remove comment |
August 7, 2020, 12:21 (GMT) |
Clog: always set start tick It causes problems when printing timestamp in info editor |
August 7, 2020, 12:20 (GMT) |
Add basic formatting options for log |
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. |
August 7, 2020, 11:38 (GMT) |
Cleanup: Freestyle, Clang-Tidy else-after-return fixes This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/freestyle` module. No functional changes. |
|
|
|


Master Commits
MiikaHweb | 2003-2021