Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1020 / 8462

January 5, 2021, 12:30 (GMT)
Asset browser: workspace in the wrong category

Workspaces [FILTER_ID_WS] were in the `Environment` category
IDFilterBoolean, whereas they are in the `Miscellaneous` category in
`rna_def_fileselect_asset_params`.

Make this consistent ['Miscellaneous'] in both cases.

(note this was already done in rB2c317457cbf2 for the file browser case)

Spotted while looking into T83983.

Maniphest Tasks: T83983

Differential Revision: https://developer.blender.org/D9911
January 5, 2021, 12:19 (GMT)
Sculpt: use distance threshold for dyntopo symmetrize

This was only used for non-dyntopo symmetrize.
There is no reason to use a hard-coded value in this case.
January 5, 2021, 12:09 (GMT)
Cleanup: remove UNUSED(..) from public function declarations

This doesn't serve any purpose and can become out of sync
with the function it's self without reporting warnings.
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, 10:01 (GMT)
Tracking: Expose track average in the menu

Patch by Sebastian Koenig, thanks!
January 5, 2021, 09:47 (GMT)
Tracking: Tweak order of pivot and proportional editing

Matches other editors. Was a mistake in the original code.

Patch by Sebastian Koenig, thanks!
January 5, 2021, 09:26 (GMT)
Tracking: Fix wrong interpolation at the end of markers array
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, 08:50 (GMT)
Tracking: Implement tracks average operator

Average selected tracks into the new one. This can be used to improve
stability of tracking on blurry or non-very-sharp feature shapes.

Averaging happens for all position, pattern corners and search area.
Disabled markers do not take effect on averaging. Keyframed flag is
copied from source.

Gaps in the source tracks will be linearly interpolated, to reduce
result track jump. Note that this only applies to gaps "inbetween".
This means that if an input track doesn't have markers in the
beginning/end of it, there is nothing to interpolate with and the
result track will jump.

Available from the Track panel, under the Merge category.

Differential Revision: https://developer.blender.org/D6323
January 5, 2021, 08:50 (GMT)
Tracking: Add interpolated accessor for markers

Allows to get marker position interpolated through out a gap.

Currently unused, but is covered with test. Aimed to be used for
track average operator.
January 5, 2021, 08:49 (GMT)
Tracking: Implement proportional editing

Disclaimer: the user interface and interaction is not final. There
are known sharp corners, which are planned to be addressed while
the patch is being tested by people.

The idea is to avoid sudden jumps of track path when artists detects
track got slid away from the feature and one re-positions track back.
The implementation is based on a proportional editing, which allows
to control whether to transform single marker or whether to propagate
transform to markers from neighbour frames. The proportional editing
also allows to control propagation curve. The propagation will stop
at the end of tracked segment.

To test the new functionality:

1. Enable proportional editing
2. Enable "Connected Only". This is essential, as otherwise the new
functionality is not enabled.
3. Grab marker.

Open topics:
- Make the functionality more discoverable.
- Make visualization of how far propagation goes more clear.
- Make defaults more usable.

Technical TODO:
- Most likely CANCEL of the transform does not properly restore the
full state prior to the transform. This needs to be solved.

Differential Revision: https://developer.blender.org/D2771
January 5, 2021, 08:49 (GMT)
Tracking: Fix wrong projection for post-draw pass

Allows to draw proportional editing circle at a proper location.
January 5, 2021, 08:49 (GMT)
Tracking: Re-duplicate logic used to count and initialize data

Allows to easily implement more comprehensive checks about which
markers get added to the transformation context.

No user measurable changes are expected, purely house-keeping to
ease an upcoming development.
January 5, 2021, 08:49 (GMT)
Tracking: Simplify transform code

Reduce amount of duplicated pointer offset logic: advance transform
data pointers deep in the loop rather than have offset duplicated in
the outer loop.

Array size calculation still has duplicated, but that is another story.
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)
BMesh: add use_shapekey to BMesh transform operators

Currently unused, needed for symmetrize to support shape keys.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021