Fix (unreported) crash when duplicating a FileBrowser window in preview draw mode.
We did not clear preview or smoothscroll timers pointers in copy code...
This commit is contained in:
parent
97597ed600
commit
ea9099473a
Notes:
blender-bot
2023-02-14 06:17:12 +01:00
Referenced by issue #53683, 2.79a release
|
@ -188,6 +188,9 @@ static SpaceLink *file_duplicate(SpaceLink *sl)
|
|||
/* clear or remove stuff from old */
|
||||
sfilen->op = NULL; /* file window doesn't own operators */
|
||||
|
||||
sfilen->previews_timer = NULL;
|
||||
sfilen->smoothscroll_timer = NULL;
|
||||
|
||||
if (sfileo->params) {
|
||||
sfilen->files = filelist_new(sfileo->params->type);
|
||||
sfilen->params = MEM_dupallocN(sfileo->params);
|
||||
|
|
Loading…
Reference in New Issue