diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-11 16:34:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-11 16:40:52 +0300 |
commit | 2cc5af9c553cfc00b7d4616445ad954597a92d94 (patch) | |
tree | ccc0fa74bd5df7ed9d20867832997f1b8d6c82f3 /source/blender/windowmanager/intern/wm.c | |
parent | 2cdebf293d4cf925e1cdaf5c4a247b8886c1026e (diff) |
Fix T86431: Keep memory location of the window manager on file load
Keep the pointer location from the initial window-manager
between file load operations.
This is needed as the Python API may hold references to keymaps for e.g.
which are transferred to the newly loaded window manager,
without their `PointerRNA.owner_id` fields being updated.
Since there is only ever one window manager, keep the memory at the same location so the Python ID pointers stay valid.
Reviewed By: mont29
Ref D10690
Diffstat (limited to 'source/blender/windowmanager/intern/wm.c')
0 files changed, 0 insertions, 0 deletions