Blender Git Commits

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

Page: 24 / 66

May 1, 2021, 08:12 (GMT)
Cleanup: Rename `#if GPU_USE_PY_REFERENCES` to `#ifndef GPU_NO_USE_PY_REFERENCES`

This is safer for incremental build.

And there was already a macro `GPU_USE_PY_REFERENCES` used elsewhere.
May 1, 2021, 08:12 (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.
May 1, 2021, 08:12 (GMT)
BLI: support removing Map elements during iteration

While it was technically safe to call Map.remove while iterating over
a map, it wasn't really designed to work. Also it wasn't very efficient,
because to remove the element, the map would have to search it
again. Now it is possible to remove an element given an iterator
into the map. It is safe to remove the element while iterating over
the map. Obviously, the removed element must not be accessed
anymore after it has been removed.
May 1, 2021, 08:12 (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.
May 1, 2021, 08:12 (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.
May 1, 2021, 08:12 (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
May 1, 2021, 08:12 (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.
May 1, 2021, 08:12 (GMT)
Fix: missing return
May 1, 2021, 08:12 (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
May 1, 2021, 08:12 (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
May 1, 2021, 08:12 (GMT)
Cleanup: correct comment
May 1, 2021, 08:12 (GMT)
Cleanup: interface_intern.h doc-strings

Also clarify some vague comments & add doxygen section for menu-memory.
May 1, 2021, 08:12 (GMT)
Cleanup: comments in BMesh bisect, use doxygen sections
May 1, 2021, 08:12 (GMT)
Fix sculpt mask operator crash running without a 3D view

Add missing operator poll, depend on the 3D view for all
sculpt paint/mask operators.
May 1, 2021, 08:12 (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`.
May 1, 2021, 08:12 (GMT)
Fix: crash when creating GPU texture from image fails
May 1, 2021, 08:12 (GMT)
Clean-up: Edit and comments

- Corrected spellings
- Comments added and edited

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D10991
May 1, 2021, 08:12 (GMT)
Fix missing NULL check in grease-pencil clear strokes
May 1, 2021, 08:12 (GMT)
Cleanup: Reduce indentation by returning early
May 1, 2021, 08:12 (GMT)
Fix T87317: Cycles XML parsing broken after bugfix for initialization order
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021