Fix #116368: missing redraw after baking in geometry nodes

This tag indirectly calls `ED_render_view3d_update` on the main thread,
which will cause the 3D view to redraw without evaluating any objects again.
This commit is contained in:
Jacques Lucke
2024-02-27 18:31:14 +01:00
parent 40480fe226
commit ee179e2749
@@ -371,6 +371,7 @@ static void bake_geometry_nodes_endjob(void *customdata)
G.is_rendering = false;
WM_main_add_notifier(NC_OBJECT | ND_MODIFIER, nullptr);
WM_main_add_notifier(NC_NODE | ND_DISPLAY, nullptr);
WM_main_add_notifier(NC_SPACE | ND_SPACE_VIEW3D | NS_VIEW3D_SHADING, nullptr);
}
static void reset_old_bake(NodeBakeRequest &request)