Blender Git Commits

Blender Git "master" branch commits.

Page: 68 / 5574

Revision e10caf6 by Julian Eisel
November 3, 2021, 17:07 (GMT)
Merge remote-tracking branch 'origin/blender-v3.0-release'
November 3, 2021, 16:56 (GMT)
Simplification: Use generic `BKE_object_materials_test` in object liblink code.

Better avoid own specific logic here, when we already have a proper
'API' function for that.
November 3, 2021, 16:55 (GMT)
Geometry Nodes: Add Selection Input to Resample Curves Node

Add a boolean input to the resample curve node that indicates which
splines should be resampled and which should be unchanged.

Differential Revision: https://developer.blender.org/D13064
November 3, 2021, 16:55 (GMT)
Fix T89709: avoid double node links after delete and reconnect

Differential Revision: https://developer.blender.org/D13062
November 3, 2021, 16:54 (GMT)
UI: Fix padding of version label in splash screen

Differential Revision: D13018
November 3, 2021, 16:47 (GMT)
Fix: muted nodes not handled correctly

This was an error in rBb55bddde40db3eda3531d98caa99be9a8e88a8ee.
Revision de2988e by Julian Eisel
November 3, 2021, 16:28 (GMT)
Cleanup: Remove effect-less const

Using `const` on an enum type returned by value doesn't have an effect.
Revision debf4b7 by Julian Eisel
November 3, 2021, 16:28 (GMT)
Cleanup: Avoid redundant template parameter in BLI serializing API

The `ContainerValue` template can obtain the type of the contained value
via the given `Container` type, simply using `Container::value_type`.
Use this as the default way to determine the value type which simplifies
using the template. If necessary the value type can be passed explicitly
still.
November 3, 2021, 15:13 (GMT)
I18n: Fix several issues with UI messages extraction script.

* Fix systematic skipping of labels when they are the same as
the identifier (Some cases are valid, like `RGB` or `HSV` e.g.).
* Add instead heuristics checks to skip non-UI properties (non-capitalized,
or same name as identifier and Operator properties, mainly).
* Skip `bl_icon` and `icon` properties.
* Properly search for properties in all parent classes (some cases with
e.g. `Panel` would break due to intermediary utils classes, leading to
those internal UI properties not being skipped as expected).

Related to T43295.
November 3, 2021, 15:13 (GMT)
I18n: Add some more acronyms to the spellchecker.
November 3, 2021, 15:13 (GMT)
Add documentation for some 'hidden' RNA properties.

Even never-shown RNA properties should have at least a description, as
this is used by API doc generation scripts.

NOTE: this is more of an opportunistic set of changes than a proper
complete fix of that loack of documentation.
November 3, 2021, 15:10 (GMT)
GPencil and Annotation: Use cached depth to perform depth testing operations

Operations such as erasing with occlusion and drawing on the surface
require reading the depth buffer.

However, this is being done with minimal efficiency.

Currently, to read the depth corresponding to each point of the new stroke,
a ReadPixel is called to send a message to the GPU and read the depth of
the corresponding pixel in the VRAM.

The communication between GPU and CPU is known to be a slow operation so
it is good to be avoided.

Therefore, save the entire depth buffer in a cache to be read directly
from the RAM.

(Also the `ED_view3d_autodist_depth` and `ED_view3d_autodist_depth_seg` have
been removed since they are no longer used).

Reviewed By: antoniov, fclem

Differential Revision: https://developer.blender.org/D10894
November 3, 2021, 14:03 (GMT)
Include node name for socket animation channel UI

The channel names were often indistingushable in animation editors.
Now include the node _name_ (unfortunately, getting the _label_ could
result in bad performance in some circustances -- see previous version
of D13085).
Similar to what rB77744b581d08 did for some VSE strip properties.

ref. T91917

Maniphest Tasks: T91917

Differential Revision: https://developer.blender.org/D13085
Revision b73993b by Julian Eisel
November 3, 2021, 14:00 (GMT)
UI: Refactor how dragging onto text buttons works, fixing issues

There was a bunch of special handling to support dropping data-blocks onto
string or search-menu buttons, to change the value of these. This refactor
makes that case use the normal drop-box design, where an operator is executed
on drop that gets input properties set by the drop-box. This should also make
it easier to add support for dragging assets into these buttons.

In addition this fixes an issue: Two tooltips were shown when dragging assets
over text buttons. None should be shown, because this isn't supported.
Revision 2a88343 by Julian Eisel
November 3, 2021, 13:24 (GMT)
Merge branch 'blender-v3.0-release'
November 3, 2021, 13:23 (GMT)
Merge branch 'blender-v3.0-release'
Revision 0d8f141 by Julian Eisel
November 3, 2021, 13:23 (GMT)
Fix access to current preferences when version patching read preferences

The version patch for 0cf9794c7ef0 was checking and setting a data name
using the macros for translation. These would access the current
preferences which can mismatch the ones currently being version patched.
See discussion in 0cf9794c7ef0 for details.

Don't handle translation in this version patch, which is more of a
"nice-to-have" version patch, no functionality depends on it.
November 3, 2021, 13:22 (GMT)
Fix T92760: Crash erasing GPencil when occlusion test is enabled

`pt0` was read when `NULL` and `is_occluded_pt1` could be read even if
it is not initialized.
November 3, 2021, 11:26 (GMT)
Merge branch 'blender-v3.0-release'
November 3, 2021, 11:17 (GMT)
Fix crash dissolving overlapping faces

In rare cases disolving faces would crash, caused by iterator
variable reuse in b29a8a5dfe3d6eb2fbbdecd0d5dffb3d709b9b91.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021