diff options
author | Bastien Montagne <bastien@blender.org> | 2021-09-17 17:19:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-09-17 17:20:39 +0300 |
commit | 9566e3bc9c6a1c9a3a562738491ab5e7240499ba (patch) | |
tree | df02f868293142a8b4d05de93bf5da2955107e8a /source/blender/windowmanager | |
parent | 8ee7f62a635f2df24be96e5102c69b4783b0cdfc (diff) |
Fix (harmless) mistake in recent new Append code.
This code path is not yet used so no harm, but that was a fairly nasty
potential crash-generator.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c index 29e34313be5..d0117d9d57a 100644 --- a/source/blender/windowmanager/intern/wm_files_link.c +++ b/source/blender/windowmanager/intern/wm_files_link.c @@ -709,7 +709,7 @@ static void wm_append_do(WMLinkAppendData *lapp_data, break; case WM_APPEND_ACT_REUSE_LOCAL: /* We only need to set `newid` to ID found in previous loop, for proper remapping. */ - ID_NEW_SET(id->newid, item->customdata); + ID_NEW_SET(id, item->customdata); /* This is not a 'new' local appended id, do not set `local_appended_new_id` here. */ break; case WM_APPEND_ACT_UNSET: |