Blender Git Commits

Blender Git "temp-lineart-contained" branch commits.

Page: 6 / 66

August 16, 2021, 04:19 (GMT)
Cleanup: ID management: remove unused old `BKE_libblock_copy_for_localize` function.
August 16, 2021, 04:19 (GMT)
Cleanup: use socket identifier instead of names in Cycles shader export

Will be required when we support setting different names and identifiers
for OSL.

Ref D12074
August 16, 2021, 04:19 (GMT)
UI: hide Viewport Display Bounds for object types that dont have
bounding boxes

These are namely 'LIGHT', 'CAMERA', 'EMPTY', 'SPEAKER' and 'LIGHTPROBE'.

Note that Empties are included here despite the fact that they have
instancing capabilities ('Display As' can be 'Bounds' for example which
then displays all instanced geometry with boundingboxes -- this however
is not meant to work with the 'Bounds' checkbox and the display bounds
type, these are only affective for the object itself, not its instances)

Issue came up in T88443.

Maniphest Tasks: T88443

Differential Revision: https://developer.blender.org/D11344
August 16, 2021, 04:19 (GMT)
Clean-up: Remove UTF8-BOM markers

Done at the request of Sergey.
August 16, 2021, 04:19 (GMT)
Compositor: Full frame input nodes

Adds full frame implementation to "Bokeh Image" node, "Track Position"
node, `SetVectorOperation` and `MovieClipAttribute`.
The other nodes in "Input" submenu are implemented separately.

`MovieClipAttribute` needs resolution to calculate its constant value, it can't be constant folded,
which requires it to be a `ConstantOperation`. Now `ConstantOperation` contemplate this case
and any operation that is always constant without depending on inputs should implement it.
If in the future an operation needs to get an input constant element during
`determineResolution` it must first determine its input resolution.

The nodes have no functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12090
August 16, 2021, 04:19 (GMT)
Compositor: Full frame Mask node

Adds full frame implementation to this node operations.
No functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11751
August 16, 2021, 04:19 (GMT)
Modifier: use high quality normals for vertex offset

Using high quality normals for vertex offset when set
for higher precision offsets.

This was only used for calculating even-offset.

Reviewed By: campbellbarton

Ref D12176
August 16, 2021, 04:19 (GMT)
Cycles: OSL metadata support for UI labels and checkboxes

To improve the presentation of nodes in the node editor. Recognize the
following metadata from the OSL specification:

* [[ string label = "UI Label" ]]
* [[ string widget = "checkBox" ]]
* [[ string widget = "boolean" ]]

Ref T89741

Differential Revision: https://developer.blender.org/D12074
August 16, 2021, 04:19 (GMT)
Win32 IME: Replace Usage of Language IDs

This is a slight refactoring of the Win32 IME code to remove the use of
Language IDs, which is now strongly deprecated. Instead this uses the
new recommended Locale Names, ie ISO-639-1 2-letter abbreviated names
like "en" for English rather than ID 0x09.

See D12143 for more details.

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

Reviewed by Ray Molenkamp
August 16, 2021, 04:19 (GMT)
PyAPI: GPU: Expose builtin shaders

Expose `3D_POLYLINE_SMOOTH_COLOR` and
`3D_POLYLINE_FLAT_COLOR` builtins.

Requested by addon developers.
August 16, 2021, 04:19 (GMT)
Fix T90572: "Render Region" is broken due to compositing

It was using viewer instead of render border. A copy-paste error.
August 16, 2021, 04:19 (GMT)
PyAPI: report unreleased ID's with WITH_PYTHON_SAFETY enabled

This would have made T88033 more straightforward to track down.
August 16, 2021, 04:19 (GMT)
Cleanup: Minor comment update on `LIB_TAG_NEW`.
August 16, 2021, 04:19 (GMT)
Fix T88033: Python reference memory leaks for non main data-blocks

ID data-blocks that could be accessed from Python and weren't freed
using BKE_id_free_ex did not release the Python reference count.

Add BKE_libblock_free_data_py function to clear the Python reference
in this case.

Add asserts to ensure no Python reference is held in situations
when ID's are copied for internal use (not exposed through the RNA API),
to ensure these kinds of leaks don't go by unnoticed again.
August 16, 2021, 04:19 (GMT)
Fix T90519: USD Exporter Error

Fixes: `Error: metersPerUnit does not match retrieved type float`
August 16, 2021, 04:19 (GMT)
Cleanup: trailing space, remove BOM
August 16, 2021, 04:19 (GMT)
Fix T90447: 3D view transform locks do not use driver colors

Caused by rB6942dd9f4900.
August 16, 2021, 04:19 (GMT)
Compositor: Fix memory leaks when initializing tiles multi-threaded

It was only affecting tiled fallback on full frame mode. If tiles from a
constant operation were multi-thread initialized, its buffer
was inflated multiple times.
August 16, 2021, 04:19 (GMT)
Compositor: Full frame curve nodes

Adds full frame implementation to "RGB Curves",
"Vector Curves" and "Hue Correct" nodes.
No functional changes.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12093
August 16, 2021, 04:19 (GMT)
Cleanup: clang-format
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021