Blender Git Loki

Kaikki Blender Git kommitit.

Page: 259 / 8462

September 9, 2021, 12:27 (GMT)
Cleanup: clarify comment about the use of `_PyThreadState_UncheckedGet()`

No functional changes.
September 9, 2021, 12:27 (GMT)
Depsgraph: release GIL when evaluating the depsgraph

Evaluating the dependency graph potentially executes Python code when
evaluating drivers. In specific situations (see T91046) this could deadlock
Blender entirely. Temporarily releasing the GIL when evaluating the depsgraph
resolves this.

Calling the `BPy_BEGIN_ALLOW_THREADS` macro is relatively safe, as it's
a no-op when the current thread does not have the GIL.

Developed in collaboration with @sergey

Manifest task: T91046
September 9, 2021, 12:11 (GMT)
Fix warning building on macOS Arm
September 9, 2021, 11:13 (GMT)
Make use of GPUVertBuf directly from the OSD Blender API, revise how
wrapped buffers are created.
September 9, 2021, 10:54 (GMT)
Geometry Nodes: fields and anonymous attributes

This implements the initial core framework for fields and anonymous
attributes (also see T91274).

The new functionality is hidden behind the "Geometry Nodes Fields"
feature flag. When enabled in the user preferences, the following
new nodes become available: `Position`, `Index`, `Normal`,
`Set Position` and `Attribute Capture`.

Socket inspection has not been updated to work with fields yet.

Besides these changes at the user level, this patch contains the
ground work for:
* building and evaluating fields at run-time (`FN_fields.hh`) and
* creating and accessing anonymous attributes on geometry
(`BKE_anonymous_attribute.h`).

For evaluating fields we use a new so called multi-function procedure
(`FN_multi_function_procedure.hh`). It allows composing multi-functions
in arbitrary ways and supports efficient evaluation as is required by
fields. See `FN_multi_function_procedure.hh` for more details on how
this evaluation mechanism can be used.

A new `AttributeIDRef` has been added which allows handling named
and anonymous attributes in the same way in many places.

Hans and I worked on this patch together.

Differential Revision: https://developer.blender.org/D12414
September 9, 2021, 10:30 (GMT)
Cycles X: Don't cache Pass info as a field

Avoiding such caching makes the Pass to fit generic nodes much
better: no need to worry about maintaining the information in
sync with the socket values.

The PassInfo construction is cheap, so the change should not
cause any time penalties.

No functional changes, just making Pass more re-usable outside
of Scene/Film for an upcoming development.

Differential Revision: https://developer.blender.org/D12431
September 9, 2021, 09:54 (GMT)
Fix T91255: IDProperty UI as_dict() returns step as default value

Another typo in this section of code.
September 9, 2021, 09:40 (GMT)
hide new nodes behind feature flag
September 9, 2021, 09:19 (GMT)
progress
September 9, 2021, 08:51 (GMT)
Cleanup: Readfile: cleanup some logic checks.
September 9, 2021, 08:51 (GMT)
IDmanagement: makelocal: Fix mistake in recent commit.

rB8cc3d2d6f51f introduced option to force make_local code to either copy
or actually make a linked ID local, but logic of boolean options
handling was broken.

This commit simplifies logic here and fixes the issue.

NOTE: Since those new options were not used yet this was a harmless bug.
September 9, 2021, 08:43 (GMT)
Merge branch 'master' into cycles-x
September 9, 2021, 07:38 (GMT)
Fix FONT objects cannot use Object Font anymore

Mistake in {rB459974896228}.

To use Object Fonts, (vertex) instancing needs to be enabled.
So bring back the instancing panel and improve the instancing choice
(similar to rB6c0c766bcaa0) by just giving the 'Vertex' choice (or
'None') and explain this is only used for Object Fonts on characters.

Was reported in D11348 itself.

Differential Revision: https://developer.blender.org/D12438
September 9, 2021, 07:21 (GMT)
Add more int casts for linux
September 9, 2021, 07:18 (GMT)
Sculpt dyntopo

* Non-manifold "fins" are now detected and automatically
deleted.
* Fixed compile error on linux.
September 9, 2021, 07:11 (GMT)
Still issues with gizmo drawing...
September 9, 2021, 06:38 (GMT)
Fix typo in BKE_object_as_kdtree

Seems like an oversight in {rB86635402d516}?

Stumbled over this while investigating another report, but this line in
its current form does not make sense (was taking derivedFinal - not
derivedDeform - prior so I assume this has to be
BKE_object_get_evaluated_mesh now).

(it is now only used for vertex parenting where this should not be an
issue, but best keep this generic).

Differential Revision: https://developer.blender.org/D12425
September 9, 2021, 06:27 (GMT)
Fix typo checking empty gizmo keymap
September 9, 2021, 06:26 (GMT)
Cleanup: remove newlines from logging text

Line endings are already added.
September 9, 2021, 05:33 (GMT)
Fix smooth-view failure to add mouse-move events

View operations that left the cursor over a gizmo were not being updated
because the mouse-move event was added while the view was animated
instead of once the animation had completed.
Mouse-move events were also missing when smooth-view was disabled.

This fixes a glitch with the 3D view navigation gizmo where multiple
clicks on the view aligned axis failed to switch to the opposite side
unless the user moved the cursor between clicks.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021