Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 223 / 5574

Revision 2ff7142 by Julian Eisel
June 29, 2021, 16:20 (GMT)
UI: Support setting operator properties for `UILayout.operator_menu_enum()`

`UILayout.operator_menu_enum()` now returns the operator properties, just like
`UILayout.operator()`. This makes it possible to set options for the operator
displayed in the menu. In C it can be done through the new
`uiItemMenuEnumFullO()` or `uiItemMenuEnumFullO_ptr()`.

It's reasonable to have this, probably just a small thing never bothered to
add. D10912 could use it, the following comment can be addressed now too:
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_nla/nla_buttons.c$583-586
June 29, 2021, 15:51 (GMT)
Cleanup: Win32 Window Creation

This is just some cleanup of the Win32 window creation code. After
CreateWindowExW() this patch uses some early exits to replace some
potentially confusing if blocks. No functional changes.

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

Reviewed by Ray Molenkamp
June 29, 2021, 14:35 (GMT)
Fix Cycles hair render error on GPU after recent changes

Volumes primitive needs to be part of traceable primitives.
Revision 0370359 by YimingWu
June 29, 2021, 14:32 (GMT)
Cleanup: Remove unused function in lineart_cpu.c
June 29, 2021, 14:24 (GMT)
Fix T70615: Cycles ignores BSDF inputs when nodes are optimized

When compiling BSDF nodes, we only assing stack space to the normal and
tangent inputs if they are linked. However, it could be that the
ConstantFolder removed the link, so checking if there is a link fails
to take this into account.

To fix this, added a flag to ShaderInput to keep track of whether a
constant was folded into the input, and use it as well to verify that
the socket is linked when assigning stack space.

Reviewed By: brecht

Maniphest Tasks: T70615

Differential Revision: https://developer.blender.org/D11731
Revision d1e0059 by YimingWu
June 29, 2021, 12:47 (GMT)
LineArt: Filtering intersection lines using mask numbers

Mask value works just like transparency mask.

You are able to select intersection lines inside a
collection or, between collections.

Reviewed By: Sebastian Parborg (zeddb)

Differential Revision: https://developer.blender.org/D11309
June 29, 2021, 12:37 (GMT)
Fix T89484: NLA "Remove Empty Animation Data" missing Outliner refresh

Similar to rBb4530deec478, just add appropriate notifier.

Maniphest Tasks: T89484

Differential Revision: https://developer.blender.org/D11724
June 29, 2021, 11:09 (GMT)
Cleanup: unused warnings
June 29, 2021, 11:09 (GMT)
Fix T89526: "Toggle Maximize Area" clears context screen properties

Removed in b787581c9cda5a0cd4bc8b03bbdd1f9832438db4 as it's comment
noted it was bad code, the reason for it's necessity was no longer valid.

Add this back with comment explaining why it's still needed.
Revision df7db41 by YimingWu
June 29, 2021, 10:48 (GMT)
LineArt: Use separate sub panel for line types.

Reviewed By: Sebastian Parborg (zeddb)

Differential Revision: https://developer.blender.org/D11735
June 29, 2021, 10:23 (GMT)
Cleanup: use 'const' arguments in transform calculation

Use const arguments to simplify further optimizations.

Transforming elements shouldn't need to change their containers
data-structures.
ElementResize for grease pencil stroke thickness was
modifying TransInfo.num & TransInfo.values_final.

Now copies are operated on to preserve const correctness although
it's worth investigating if this can be avoided altogether.
June 29, 2021, 10:13 (GMT)
Cleanup: clang-format
June 29, 2021, 10:12 (GMT)
Cleanup: spelling
June 29, 2021, 07:52 (GMT)
Cleanup: GPU Shader Log Parsing.

- Added functions to check if the cursor is at a number.
- Added function to parse a number.
- Joined skip_separator functions.
- Added function to check if cursor is at any given set of characters.
June 29, 2021, 07:08 (GMT)
Fixed issue in previous commit.

During development a test was disabled. Enabling it again.
Revision 2262d6c by Jeroen Bakker
June 29, 2021, 07:04 (GMT)
Fix T89405: Viewport Render Preview glitching (AMD)

AMD Drivers didn't report an additional space in the rendered. This made
testing for the HQ workaround fail and the issue appeared back on
certain cards.

This fix will test with surrounding spaces or if the renderer name
endswith the given string. If any of these are the case the hq normals
workaround will be enabled.
June 29, 2021, 03:58 (GMT)
Typo in function identifier: mutli -> multi

Fixing small typo of word "multi" in function identifier by renaming
"count_mutli_input_socket_links" to "count_multi_input_socket_links"

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

Reviewed by Hans Goudey
Revision 24c321c by Hans Goudey
June 29, 2021, 03:45 (GMT)
Cleanup: Use function name for allocation strings

This is simpler, more consistent, and takes up less space.
Revision 91b3117 by YimingWu
June 29, 2021, 03:40 (GMT)
LineArt Cleanup: Rename floating->loose

see comment in https://developer.blender.org/rB841df831e89dfc4011c323203c2efb8265dc1878
June 29, 2021, 03:31 (GMT)
Cleanup: translate comments

It wasn't so clear why the POINT_INIT check was disabled,
move this into the code comment.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021