Fix #140502: Clip editor crash

Merging back changes from 4.5 to 5.0 introduced an error. A line was
removed from the original PR. This PR includes it back.

Pull Request: https://projects.blender.org/blender/blender/pulls/140519
This commit is contained in:
Jeroen Bakker
2025-06-17 09:32:07 +02:00
parent 8e6c208c5b
commit f88feeb29a

View File

@@ -147,6 +147,7 @@ static void draw_movieclip_cache(SpaceClip *sc, ARegion *region, MovieClip *clip
uint pos = GPU_vertformat_attr_add(
immVertexFormat(), "pos", blender::gpu::VertAttrType::SFLOAT_32_32);
immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR);
/* track */
if (tracking_object->active_track || tracking_object->active_plane_track) {