Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 428 / 5574

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: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 17, 2021, 11:35 (GMT)
GPencil: Fix Autojoin error using layer transform

The target stroke bounding box was not checked properly and when using layer transform the error was noticeable, but really the error was before the layer transform commit.
January 17, 2021, 10:40 (GMT)
Merge branch 'blender-v2.92-release'
January 17, 2021, 10:40 (GMT)
Merge branch 'blender-v2.92-release'
January 17, 2021, 10:40 (GMT)
Merge branch 'blender-v2.92-release'
January 17, 2021, 10:36 (GMT)
Add Object Tool: move extra settings popover last

This is intended to be used when settings don't fit in the top bar,
so it makes sense to keep them last.
January 17, 2021, 10:21 (GMT)
Add Object Tool: scale the cursor plane based on the depth

Draw the cursor plane smaller then further away from the view.

This makes the plane being drawn onto easier to perceive.
January 17, 2021, 10:16 (GMT)
Add Object Tool: split aspect & origin options for base/height

In practice it's common these settings shouldn't be linked for drawing
the initial (base) plane, compared with the height.
January 17, 2021, 07:30 (GMT)
Merge branch 'blender-v2.92-release'
January 17, 2021, 07:30 (GMT)
Merge branch 'blender-v2.92-release'
January 17, 2021, 07:24 (GMT)
Fix workspace tool name property

The fallback tool was used as the tool name.

Regression in a8ce9a143abbb51eae28e5d0cae1fb310bd0c24c
January 17, 2021, 07:24 (GMT)
RNA: report an error when the name property is set twice

This helps avoid copy-paste errors which have happened a few times,
no functional changes.
Revision 1e8ed36 by Hans Goudey
January 16, 2021, 19:11 (GMT)
Merge branch 'blender-v2.92-release'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021