Blender Git Commits

Blender Git "master" branch commits.

Page: 289 / 5574

April 30, 2021, 13:42 (GMT)
Python GPU: Add reference of PyObject GPU object to the GPU object itself

Instead of creating different python wrappers for the same GPU object,
return the same `PyObject` created earlier.

This also allows for more secure access to existing GPU objects.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D11044
April 30, 2021, 13:41 (GMT)
Merge branch 'blender-v2.93-release'
April 30, 2021, 13:40 (GMT)
Fix T85470: Simple deform modifier causes artifacts at low angles

The formula used to compute the bend did subtraction of two big numbers
to get the position. Changed to find the delta and add that,
by rearranging the formula into a more numerically stable form.

Reviewed By: mano-wii, campbellbarton

Ref D11074
April 30, 2021, 13:13 (GMT)
Merge branch 'blender-v2.93-release'
April 30, 2021, 13:11 (GMT)
Fix/Workaround T87511: snap gizmo flickers on Ctrl-Drag

Hack to bypass drag events, eventually the gizmo API
should support this use case without hacks.
April 30, 2021, 13:11 (GMT)
Geometry Nodes: Add an "Auto" option for Attribute Convert data type

Currently there is an "Auto" option for the domain, this commit adds a
similar option for "Auto" data type, that uses the data type from the
target attribute or the source attribute (in that order).

Ref T87347

Differential Revision: https://developer.blender.org/D10932
April 30, 2021, 12:38 (GMT)
Object: rename BKE_object_runtime_free, leave data cleared

Rename BKE_object_runtime_free -> BKE_object_runtime_free_data,
since the runtime pointer is part of the object, only the data is freed.

Leave the data cleared to avoid accidental use,
this is in keeping with other `*_free_data()` functions.
April 30, 2021, 11:11 (GMT)
Fix: missing return
April 30, 2021, 10:50 (GMT)
Merge branch 'blender-v2.93-release'
April 30, 2021, 10:48 (GMT)
Fix crash running constraint, modifier, fx from missing NULL check

None of these generic poll functions had NULL pointer checks,
since all operators that use these functions expect a valid constraint,
modifier .. etc. Add the NULL check to the poll function.

Ref D11126

Reviewed By: mont29, Severin
Revision 7f208be by Julian Eisel
April 30, 2021, 10:37 (GMT)
Fix all objects getting selected sometimes when droppping object

If no other object was selected while dragging one in (e.g. from the Outliner
or an object asset from the Asset Browser), all visible objects in the active
view layer would get selected.
Issue was caused by a wrong enum type use.

Mistake in bcdba7c34da0.
April 30, 2021, 09:09 (GMT)
BLI: improve VectorSet data structure

This adds two new methods:
* `clear` just removes all keys from the vector set.
* `index_of_or_add` returns the index of a key and adds it if has not
been added before.
April 30, 2021, 06:29 (GMT)
Object: improve on fix for Object.to_mesh() crash T86871

While fa7ddd0f43ea15dd19d81e7808de2bfe8cfc89ee fixed the reported issue,
the possibility of reusing runtime data during curve-to-mesh conversion
remained. Instead of treating the bounding-box as a special case,
clear all run-time data for temporary objects.

Ref D11026

Reviewed By: sergey
April 30, 2021, 06:17 (GMT)
Cleanup: interface_intern.h doc-strings

Also clarify some vague comments & add doxygen section for menu-memory.
April 30, 2021, 05:58 (GMT)
Cleanup: correct comment
April 30, 2021, 05:49 (GMT)
Cleanup: comments in BMesh bisect, use doxygen sections
April 30, 2021, 05:30 (GMT)
Cleanup: rename BKE_pose_channel_{verify => ensure}

The term `verify` doesn't fit with what this function does
and is sometimes used to check data is valid or to control validity
checking as with `RNA_define_verify_sdna`.
use more common term `ensure`.
April 30, 2021, 05:28 (GMT)
Cleanup: rename BKE_pose_channels_hash_{make => ensure}

Use the term `ensure` since it makes it clear the data is
not manipulated if it already exists.
April 30, 2021, 05:26 (GMT)
Cleanup: use early return in edittranslation_exec
April 30, 2021, 05:24 (GMT)
Cleanup: use const variables
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021