Fix T87771: Immediate Crash on "Edit Source" in Compositor
Caused by {rB278011e44d43}. Framebuffer management since above commit now seems to require region bind/unbind in for the operator to be able to redraw correctly without using the same framebuffer in multiple contexts. Maniphest Tasks: T87771 Differential Revision: https://developer.blender.org/D11084
This commit is contained in:
parent
b67fe05d4b
commit
38bfa8902b
Notes:
blender-bot
2024-03-25 12:30:38 +01:00
Referenced by issue #87771, Immediate Crash on "Edit Source" in Compositor
|
@ -1380,7 +1380,9 @@ static int editsource_exec(bContext *C, wmOperator *op)
|
|||
|
||||
/* redraw and get active button python info */
|
||||
ED_region_do_layout(C, region);
|
||||
WM_draw_region_viewport_bind(region);
|
||||
ED_region_do_draw(C, region);
|
||||
WM_draw_region_viewport_unbind(region);
|
||||
region->do_draw = false;
|
||||
|
||||
for (BLI_ghashIterator_init(&ghi, ui_editsource_info->hash);
|
||||
|
|
Loading…
Reference in New Issue