Blender Git Commit Log

Git Commits -> Revision a06c46d

Revision a06c46d by Nathan Letwory (master)
September 17, 2010, 22:12 (GMT)
Apply patch [#23846] Fix for [#23698] in File Browser system. Properly removes handler and sfile when File selector disapears.
Patch by Alexander Kuznetsov
Reported by Chidozie Oku

From patch description:
"
Handler is now released on every exit from File Selector. For example pressing ctrl-up and then changing editor type
to another also releases the handler.

When an area is changed from SPACE_FILE, ED_fileselect_exit is called for clean up. It takes function of freeing folder
list and files (before it was done in cancel or exec functions) because they must be released on every exit anyway.
op!=null means cancel or exec was not executed so a handler was not released. ED_fileselect_exit then releases the handler
without changing screens.
"

Thanks!

Commit Details:

Full Hash: a06c46d8dd552a651c90f0ca9805bfbba04cb193
SVN Revision: 31985
Parent Commit: b4a4c33
Lines Changed: +36, -36

6 Modified Paths:

/source/blender/editors/screen/area.c (+0, -7) (Diff)
/source/blender/editors/screen/screen_edit.c (+4, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+14, -1) (Diff)
/source/blender/editors/space_file/file_ops.c (+4, -17) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+9, -7) (Diff)
/source/blender/windowmanager/wm_event_types.h (+5, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021