Viewports: Fixed a crash while a window owning its viewport disappear while being dragged.

t would manifest when e.g. reconfiguring dock nodes while dragging.
This commit is contained in:
ocornut
2021-09-09 21:05:40 +02:00
parent 9a49c1ddbd
commit 6b77668171
2 changed files with 21 additions and 12 deletions

View File

@ -148,7 +148,9 @@ Docking+Viewports Branch:
- Docking: fixed settings load issue when mouse wheeling. (#4310)
- Docking + Drag and Drop: Fixed using BeginDragDropSource() or BeginDragDropTarget() inside a Begin()
that returned false because the window is docked. (#4515)
- Viewports: Viewports: fixed unnecessary creation of temporary viewports when multiple docked windows
- Viewports: Fixed a crash while a window owning its viewport disappear while being dragged.
It would manifest when e.g. reconfiguring dock nodes while dragging.
- Viewports: Fixed unnecessary creation of temporary viewports when multiple docked windows
got reassigned to a new node (created mid-frame) which already has a HostWindow.