Fix T53748: uniform globalsBlock was not being added was not being added to the shaders of the curves handles

This commit is contained in:
2018-01-10 00:08:51 -02:00
parent 3c6e19b30b
commit 7d865bc4ab

View File

@@ -201,6 +201,7 @@ static void EDIT_CURVE_cache_init(void *vedata)
DRWShadingGroup *overlay_edge_shgrp = DRW_shgroup_create(e_data.overlay_edge_sh, psl->overlay_edge_pass);
DRW_shgroup_uniform_vec2(overlay_edge_shgrp, "viewportSize", DRW_viewport_size_get(), 1);
DRW_shgroup_uniform_block(overlay_edge_shgrp, "globalsBlock", globals_ubo);
stl->g_data->overlay_edge_shgrp = overlay_edge_shgrp;