Blender Git Loki

Git Commits -> Revision dfaf420

March 21, 2021, 15:11 (GMT)
Fix missing view3d updates after recent NC_SPACE notifier filters

Since {rB46aa70cb486d}, using `NC_SPACE | ND_SPACE_VIEW3D` as notifier is
restricted to space data as a reference. This was still used though for
RNA updates in other places (namely `rna_camera`, `rna_scene`,
`rna_animviz`), and passing NULL would automatically set the notifier
reference to the owner id. Above commit would happily filter these out,
leading to missing refreshes.

Now use more specific notifiers (in case of animviz a new
`ND_DRAW_ANIMVIZ` was added).

This was reported for Camera background images btw.
Fixes T86670.

Maniphest Tasks: T86670

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

Commit Details:

Full Hash: dfaf420e930e77111e70449b13ab6955867fc705
Parent Commit: c026bb2
Committed By: Julian Eisel
Lines Changed: +45, -51

5 Modified Paths:

/source/blender/editors/space_view3d/space_view3d.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_animviz.c (+15, -26) (Diff)
/source/blender/makesrna/intern/rna_camera.c (+17, -17) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+8, -8) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021