Blender Git Commits

Blender Git "master" branch commits.

Page: 444 / 5574

January 5, 2021, 12:04 (GMT)
Cleanup: remove redundant RNA_types.h header from UI_interface.h
January 5, 2021, 11:48 (GMT)
Fix T84364: Sculpt symmetrize fails with shape keys

Use the BMesh symmetrize operator instead of using the modifier code.

While we could support shape-keys with the existing code used by the
mirror modifier, we'd need to add code-paths for evaluated mesh & bmesh
conversion to handle shape-keys differently just for this one case,
since we want to avoid copying & processing shape-keys layers for
evaluated meshes in general.
January 5, 2021, 10:46 (GMT)
Enabled Physics Particle Instance test
January 5, 2021, 09:26 (GMT)
Fix T84018: bulk selection (box, circle, lasso) - unwarranted selection
of islands in vertex mode if "UV Sync Selection" is on

Caused by rB72b422c1e101: UV: support select linked with sync-select in
vert/edge modes

If you had island selection mode enabled in the UV editor with UV Sync
Selection off, and switch UV Sync Selection on, then in vertex selection
mode all bulk selection ops (box, circle, lasso) will be selecting whole
islands.

Prior to culprit commit, for sync selection ON plus island selection ON,
BM_uv_vert_map_create would always return a NULL vmap (it was called
with `use_select` = True, no faces tagged selected). After said commit,
for sync selection ON plus island selection ON, BM_uv_vert_map_create
would return a valid vmap (it is now called with `use_select` = False,
no faces tagged selected - but if `use_select` is False, all UVs will be
added here).

If I am not mistaken, it is never wanted to actually select islands with
box/lasso/circle when sync selection is turned ON [after all you dont
have the UI for it showing], so solution is now to check for this
earlier and not even call uv_select_linked_multi in those cases. (Maybe
in the future this can be unified and we dont need separate selection
modes fo UV and 3D?)

Maniphest Tasks: T84018

Differential Revision: https://developer.blender.org/D9917
January 5, 2021, 09:13 (GMT)
Cleanup: Enum for mask overlay mode
January 5, 2021, 09:02 (GMT)
Fix T84216: Drawing a paintcurve [vertexpaint / weightpaint] fails

Caused by rB35e3dc9192e7.

Above commit moved 'Weight Paint' & 'Vertex Paint' keymap also before
'Paint Curve' keymap.
This way, paintcurve.add_point_slide would be overriden by:
- paint.vertex_paint (inverted)
- paint.weight_sample

Now move 'Paint Curve' above again.

Reviewers: campbellbarton

Maniphest Tasks: T84216

Differential Revision: https://developer.blender.org/D9939
January 5, 2021, 07:03 (GMT)
BMesh: Add shape-key support to edit-mesh symmetrize

Symmetrize now flips shape-keys too since using the un-flipped
locations creates an overlapping surface which isn't useful.
January 5, 2021, 04:51 (GMT)
Cleanup: typos (repeated words)
January 5, 2021, 04:51 (GMT)
Fix T84388: Invalid operator reference in the quick-start
January 5, 2021, 04:51 (GMT)
Fix bmesh.mirror operator

Checks for merging vertices assumed all the geometry was being mirrored.
January 5, 2021, 04:51 (GMT)
Cleanup: use scale's 'space' argument instead of two transform calls
January 5, 2021, 04:51 (GMT)
BMesh: add use_shapekey to BMesh transform operators

Currently unused, needed for symmetrize to support shape keys.
January 5, 2021, 03:04 (GMT)
VSE: Fix incorrect condition for skipping prefetch frames

This error was overlooked in commit be69f23b687a.
Revision 9b17e71 by Hans Goudey
January 4, 2021, 23:35 (GMT)
Cleanup: Use flag type explicitly

Using the `uiButtonGroupFlag` type explicitly can avoid the need
to look up which enum should be used as an argument.
Revision 5a6dfb7 by Hans Goudey
January 4, 2021, 23:32 (GMT)
Fix T78017: Broken layout in "View Lock" panel with armature

The property split layout was broken when the bone dialog appeared,
because the name field was not set. Theoretically property split should
work in this case, but it makes sense to use the label anyway.
Revision 9316cb3 by Hans Goudey
January 4, 2021, 23:11 (GMT)
Cleanup: Remove unused variables in transform mesh skin code

Differential Revision: https://developer.blender.org/D9992
Revision 102eff0 by Hans Goudey
January 4, 2021, 23:07 (GMT)
Fix T84382: Geometry Nodes: Vertex group attributes are removed

In the report, the geometry is copied because it has two users and the
final join node needs to write to it. The join node also happens to
remove attributes apparently, because it exposed a mistake in the "copy"
method of the `MeshComponent` class. The copy is supposed to be
a deep copy, but the vertex group name map was not duplicated.

Differential Revision: https://developer.blender.org/D9991
Revision ec90dda by Hans Goudey
January 4, 2021, 21:42 (GMT)
UI: Fix typo in operator description
January 4, 2021, 21:13 (GMT)
Fix T84183: Dark area in the bevel custom profile widget

If there was a control point at an extreme position when drawing a curve
profile (in the bottom corner), the fill's trianglulation could fail, giving
a misleading view of the curve. This is because the extra points added to
create a closed shape were exactly on the border of the view.

This commit adds a small margin to those points, so the triangulation
doesn't fail because the line overlaps itself.

Another possible solution is to use a different algorithm to fill
the polygon, such as scanfill, which is used by curve objects.
This seemed simpler, and seems to work fairly robustly.

Differential Revision: https://developer.blender.org/D9989
January 4, 2021, 20:37 (GMT)
Fix T84376: Skin Resize(Ctrl + A) does not work in Symmetry

Since the `TransData` converted from vertices is the same used for other
transform modes (Move, Rotate, Resize), the logic used for mirroring
focused only on the position of the vertices.

The solution here is to create a specific `TansData` for `CD_MVERT_SKIN`.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021