Blender Git Commit Log

Git Commits -> Revision 7ee365d

Revision 7ee365d by Philipp Oeser (master)
March 18, 2021, 14:23 (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: 7ee365d8c713459d6217c2728f5b796bc3ed241d
Parent Commit: 2dd040a
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021