Blender Git Loki

Kaikki Blender Git kommitit.

Page: 992 / 8462

January 18, 2021, 14:00 (GMT)
Fix T84600: prevent bone groups operators on proxies and library
overrides

Editing bone groups is not supported on proxies/overrides [changes a re
lost on file reload], need to do proper polling (and also prevent this
from rna) for:

- adding bone groups
- removing bone groups
- renaming bone groups
- setting bone groups colors

Previously, this was hinted at by setting the layout inactive, with
preoper polls, this is now not needed anymore.

note: Selection of bone groups actually makes sense here and is
supported, so this is not prevented in this patch, but UI wise this is
not nice in the override case, because one cannot set an active_index
(aka select) in the UI list.

Maniphest Tasks: T84600

Differential Revision: https://developer.blender.org/D10131
January 18, 2021, 13:57 (GMT)
Fix T84808: Individual projection works even when snap options don't affect the transform mode

Individual projection is a different branch of snap and always projects
the transformed elements on the surface of objects.

Perhaps this option should be limited to the Move mode due to similarity.

But in order not to change the current behavior too much, this commit only
disables this option in modes not affected by snap.
January 18, 2021, 13:07 (GMT)
Merge branch 'blender-v2.92-release'
January 18, 2021, 12:58 (GMT)
Fix T84586: missing Outliner redraws for certain NLA operators

Outliner display under 'Animation' > 'NLA Tracks' was not updating in
the following cases:
- adding strips
- removing strips
- duplicating strips (possibly to different track)
- swapping strips
- reordering tracks
- changing strip order by translating
- translating strips between tracks
- renaming tracks

In the case of deleting strips/tracks, this was also resulting in a use-
after-free error in Outliner drawing code (this was reported specifically
in T84586).

Most of these operators already sent a ND_NLA|NA_EDITED notifier, but the
Outliner is not listening to these. Listening to NA_EDITED is also not
what we want since this also happens a lot in cases irrelevant to the
Outliner. Now be a bit more specific and send ND_NLA|NA_ADDED / ND_NLA|
NA_REMOVED or a new ND_NLA_ORDER (to distinguish from NA_EDITED
'only' - where a redraw is not neccessary) and listen to these from the
Outliner.

(note: places that were listening to ND_NLA|NA_EDITED before are also
listening to NA_ADDED or NA_REMOVED, so changing NA_EDITED should not be
a problem here)

(note 2: for cases like swapping tracks/strips order, NA_ADDED or
NA_REMOVED does not make sense, neither can we use NA_EDITED [since we
dont want to listen to this], so in this case an additional ND_NLA_ORDER
is now sent)

(note 3: in nla transform code, this is now always sent on confirm. There
are cases were the notifier would not be needed, but checking exactly all
cases were it actually would be needed seems overkill [history of D10073
has example code to check if strips moved between tracks])

Maniphest Tasks: T84586

Differential Revision: https://developer.blender.org/D10073
January 18, 2021, 12:55 (GMT)
Merge branch 'blender-v2.92-release'
January 18, 2021, 12:51 (GMT)
Fix T84250: Eevee world/material parameter animation not updating the viewport

The WORLD_UPDATE operation (needed to free the gpu material) was already
defined in DepsgraphNodeBuilder::build_world, but corresponding relation
was only set up for changes in the nodetree, not for changes in the
world/material itself in DepsgraphRelationBuilder::build_world.
Direct changes to these surface properties in the UI were updating
properly through RNA property update callbacks, but these are not called
from the animation system.

So now add these relations in the depsgraph.

Not 100% sure this is the right place for this (since e.g. eevee engine
seems to handle e.g. animated light paramters just fine through
EEVEE_cache_populate / eevee_light_setup, but properly freeing gpu
materials wont happen for worlds in e.g eevee_id_world_update and also
not for materials)

Maniphest Tasks: T84250

Differential Revision: https://developer.blender.org/D9959
January 18, 2021, 11:32 (GMT)
EEVEE: Depth Of Field: Gather median filter

Filter the noisy output of the gather pass. This improves temporal
stability.
January 18, 2021, 11:18 (GMT)
Merge branch 'blender-v2.92-release'
January 18, 2021, 11:15 (GMT)
Fix T84739: Crash with curve brush in sculpt mode.

No idea why we did not pass context to `ED_paintcurve_undo_push_end`, it
is easily availbale everywhere...
January 18, 2021, 11:02 (GMT)
Merge remote-tracking branch 'origin/blender-v2.92-release'
January 18, 2021, 10:59 (GMT)
Fix T83657: Pose Mode: Clearing transform doesn't respect Mirror X

Extend the pose bone "clear loc/rot/scale" functions so that they
respect the "Mirror X" option.

Reviewed By: sybren

Maniphest Tasks: T83657

Differential Revision: https://developer.blender.org/D9938
January 18, 2021, 10:59 (GMT)
Fix T83657: Pose Mode: Clearing transform doesn't respect Mirror X

Extend the pose bone "clear loc/rot/scale" functions so that they
respect the "Mirror X" option.

Reviewed By: sybren

Maniphest Tasks: T83657

Differential Revision: https://developer.blender.org/D9938
January 18, 2021, 07:24 (GMT)
UV: tweak face select behavior

When the mouse cursor is inside the UV face,
extend the selection threshold.

This means when zoomed in, a face can always be selected when the cursor
is inside it.
In the case of multiple overlapping faces - the face with the closest
center is used.
January 18, 2021, 07:01 (GMT)
Cleanup: move UvNearestHit.ob assignment in find nearest functions

This makes it possible to pass multiple hit arguments.

Also rename 'hit_final' to 'hit', since there are no longer a local
'hit' variable defined in these functions.
January 17, 2021, 17:57 (GMT)
EEVEE: Depth Of Field: Scatter optimization

Use neighborhood comparison to reject pixels from scattering pass if
they are not different enough from surrounding pixels.

Logic is here, but this needs refinement. This is mainly to
reject lots of scattering sprites on large out of focus regions
that are really bright.
January 17, 2021, 16:38 (GMT)
EEVEE: Depth Of Field: Fix alpha resolve
January 17, 2021, 16:36 (GMT)
EEVEE: Depth Of Field: Scatter Occlusion

Use VSM like occlusion texture to avoid light leaking through closer
background and foreground.
January 17, 2021, 12:37 (GMT)
GPencil: Cleanup comment

January 17, 2021, 12:33 (GMT)
GPencil: Fix merge errors

January 17, 2021, 12:11 (GMT)
Merge branch 'master' into temp-gpencil-interpolate

Conflicts:
source/blender/editors/gpencil/gpencil_interpolate.c
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021