[Bf-blender-cvs] [8d5e49bdea4] soc-2021-vse-strip-thumbnails: Fixed memory free error
Aditya Y Jeppu
noreply at git.blender.org
Sat Jul 24 21:47:37 CEST 2021
Commit: 8d5e49bdea425f9e9ea705f79e7e70cea9ae1038
Author: Aditya Y Jeppu
Date: Sun Jul 25 01:17:21 2021 +0530
Branches: soc-2021-vse-strip-thumbnails
https://developer.blender.org/rB8d5e49bdea425f9e9ea705f79e7e70cea9ae1038
Fixed memory free error
===================================================================
M source/blender/editors/space_sequencer/sequencer_draw.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 3c2c8469eaf..9665d424da7 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1207,9 +1207,6 @@ static void thumbnail_startjob(void *data, short *stop, short *do_update, float
tj->pixelx,
tj->pixely);
seq_thumbnail_get_start_frame(val->seq_dupli, frame_step, &start_frame, tj->view_area);
-
- printf("in job : %f %f %f \n", roundf(frame_step), frame_step, start_frame);
-
SEQ_render_thumbnails(
&tj->context, val->seq_dupli, seq_orig, start_frame, frame_step, tj->view_area);
}
@@ -1255,6 +1252,10 @@ static void sequencer_thumbnail_get_job(const bContext *C,
WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_SEQUENCER, NC_SCENE | ND_SEQUENCER);
WM_jobs_callbacks(wm_job, thumbnail_startjob, NULL, NULL, thumbnail_endjob);
}
+ else {
+ BLI_ghash_free(seqs, NULL, thumbnail_hash_data_free);
+ // Workaround for now
+ }
// TODO(AYJ) : add the new data to the existing thread if new information has come in (calls this
// function twice)
More information about the Bf-blender-cvs
mailing list