Blender Git Commit Log

All Blender Git commits.

Page: 1222 / 8462

October 7, 2020, 17:31 (GMT)
Fix T81480: Input 0 to scale in redo panel resets to 1

Checking if `t->values[i] != 0.0f;` is not the best solution for all
transform cases.
October 7, 2020, 17:18 (GMT)
Merge branch 'asset-metadata' into asset-browser
October 7, 2020, 17:17 (GMT)
Fix compile error after last merge
October 7, 2020, 17:16 (GMT)
Merge branch 'master' into asset-metadata
October 7, 2020, 17:15 (GMT)
PyDoc: Fix 90% of sphinx-build warnings

This is a second attempt at rB953c232db31f1a76f99ceb43119681ce0df1ab17 which got reverted

Changes:

- Document `bpy.ops.*` as classes and not modules (`bpy.ops`) is still a module. Changes here were also made to increase the indent to reduce the documentation scope (sphinx was complaining because to class functions were the same).
- Remove `.. module:: bpy.types` from each bpy type page. Sphinx complains because there are multiple modules with the same name. Changes are are made here to document as a class.
- Change the bpy data module from `.. module:: bpy` to`.. module:: bpy.data`

These changes were tested to insure the urls and xrefs were the same (see rBaead4b3cab472b96fa0e07c289979c28f5fc22a5)

Total errors went from 1263 to 120. The remaining errors regarding duplicate object descriptions are a bit harder to fix.

Differential Revision: https://developer.blender.org/D9139
October 7, 2020, 16:13 (GMT)
Cleanup: inconsistent parameter name

Found by clang-tidy.
October 7, 2020, 16:05 (GMT)
Refactor: remove `BKE_<id_type>_copy` functions.

Those were only shallow wrappers around `BKE_id_copy`, barely used (even
fully unused in some cases), and we want to get rid of those ID-specific
helpers for the common ID management tasks. Also prevents weird custom
behaviors (like `BKE_object_copy`, who was the only basic ID copy
function to reset user count of the new copy to zero).

Part of 71219.
October 7, 2020, 16:05 (GMT)
Refactor `BKE_id_copy` to return the new ID pointer.

No reasons to keep the new ID pointer as parameter here.

Part of T71219.
October 7, 2020, 16:05 (GMT)
Refactor `BKE_id_copy_ex` to return the new ID pointer.

Note that possibility to pass the new ID pointer as parameter was kept,
as this is needed for some rather specific cases (like in depsgraph/COW,
when copying into already allocated memory).

Part of T71219.
October 7, 2020, 16:04 (GMT)
Volumes: new Volume Displace modifier

This modifier uses a 3D texture to displace a volume.
For now, this can only use the previously existing texture system,
because we do not have a better alternative yet. Still, the results
can be quite good and interesting. See D9075 for some examples.

Reviewers: brecht, simonthommes

Differential Revision: https://developer.blender.org/D9075
October 7, 2020, 15:59 (GMT)
UI: Fix Incorrect Workspace Tab Sizing

Changes Workspace tabs so that the text size and tab width are both set by style.widget.points.

Differential Revision: https://developer.blender.org/D9108

Reviewed by Julian Eisel
October 7, 2020, 15:41 (GMT)
Fix T81171: Show Alerts at Center in Statusbar

Move position of Alerts and Progress bar back to the center of the Statusbar.

Differential Revision: https://developer.blender.org/D9118

Reviewed by Brecht Van Lommel
October 7, 2020, 15:26 (GMT)
Fix T81254: Incorrect calculation of EEVEE Transmittance Volumetrics

Regular rendering uses a custom blend mode, but render passes renders to
2 separate textures. This wasn't configured correctly inside the
fragment shaders. This patch adds a switch to configure the fragment
shader with the correct attachments.

Backport to Blender 2.83.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D9038
October 7, 2020, 15:15 (GMT)
UV/Image Editor: Overlay Popover

The overlay options in the image/uv editor is hidden in side panels and menus. Sometimes this panel is even hidden, while still useful.
The goal of this task is to introduce an overlay pop-over just like the overlay-popover of the 3d viewport.

Popover has
* UV Stretching (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode)
* Display As (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode)
* Show Modified (only available in the UV mode, when active object mode is a mesh and in OB_EDIT mode)
* Show UV Edges (including opacity slider; available UV, View, Paint, when active object mode is a mesh and in OB_EDIT mode)
* Udim tiles when no image is available.

Like the 3d viewport, there will be a editor toggle to enable/disable the overlays

For compatibility reasons the RNA properties are added to both the `SpaceImage.uv_editor` amd `SpaceImage.overlay`. On DNA level they are still stored in the SpaceImage. only new properties are added to the SpaceImageOverlay struct. During the next major release we could remove these options from `SpaceImage.uv_editor`. This should be noted in the Python section of release notes.

Reviewed By: Julian Eisel, Pablo Vazquez

Differential Revision: https://developer.blender.org/D8890
October 7, 2020, 15:11 (GMT)
Python API: add volume.grids.save(filepath) to save grids and metadata to disk

Particularly useful now that we can dynamically generate volume using
modifiers. Not exposed in the user interface currently, but it can be used
by add-ons that need to export an entire scene including volumes.
October 7, 2020, 15:10 (GMT)
Merge branch 'master' into greasepencil-edit-curve
October 7, 2020, 15:10 (GMT)
Merge branch 'master' into greasepencil-object
October 7, 2020, 15:09 (GMT)
Fix T81490: GPencil merge layer duplicated all strokes

There was a wrong duplication of all strokes and this accumulated all previous data for each frame.

Also a cleanup has been done in order to clarify what means each variable.
October 7, 2020, 14:41 (GMT)
Animation: always try to match the existing curve when inserting keys

Previously Blender would only match the existing curve slope when the
to-be-inserted key value was already very close to the curve. This check
is now removed, allowing for sliders in the graph editor to subtly
change the curve, and for keyframes added with ctrl+click to follow the
curve better.
October 7, 2020, 14:25 (GMT)
PyDoc: Multithread sphinx-build

Compile times went from over 5min to under 2 on my laptop.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021