Blender Git Commit Log

All Blender Git commits.

Page: 681 / 8462

April 30, 2021, 13:50 (GMT)
Documentation: Replace the bgl API in the gpu module exemples
April 30, 2021, 13:49 (GMT)
Python GPU: Add new methods to port the code templates in the manual

This commit adds a new API tha allow to replace the bgl API in the exemples on:
https://docs.blender.org/api/current/gpu.html

**Overview (New API):**
```
gpu.state: active_framebuffer_get
GPUFramebuffer: read_color
GPUOffscreen: texture_color
```

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D11031
April 30, 2021, 13:47 (GMT)
GPencil: Curve smoothing BKE
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:54 (GMT)
Update with changes from D10942

Except for motion capture object autokeying (will be added again once
a good way to get the blender context from wm_xr_session is found),
functionality remains the same as before.
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
April 30, 2021, 10:43 (GMT)
Merge branch 'master' into asset-browser-snap-dragging
April 30, 2021, 10:41 (GMT)
Merge branch 'master' into asset-browser-poselib
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:44 (GMT)
GPencil: Free polyline weights before regenerate
April 30, 2021, 06:44 (GMT)
GPencil: Update the polyline when sculpting
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021