[Bf-blender-cvs] [6e698653dff] master: Cleanup: remove unused function

Campbell Barton noreply at git.blender.org
Sat Jul 11 12:38:14 CEST 2020


Commit: 6e698653dfff094de193cd4de2d4d3da4097d829
Author: Campbell Barton
Date:   Sat Jul 11 20:34:17 2020 +1000
Branches: master
https://developer.blender.org/rB6e698653dfff094de193cd4de2d4d3da4097d829

Cleanup: remove unused function

===================================================================

M	source/blender/blenkernel/intern/sequencer.c

===================================================================

diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 3dd8be2e106..01d2176ba30 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -1331,30 +1331,6 @@ ListBase *BKE_sequence_seqbase_get(Sequence *seq, int *r_offset)
 
 /*********************** DO THE SEQUENCE *************************/
 
-static void make_black_ibuf(ImBuf *ibuf)
-{
-  unsigned int *rect;
-  float *rect_float;
-  int tot;
-
-  if (ibuf == NULL || (ibuf->rect == NULL && ibuf->rect_float == NULL)) {
-    return;
-  }
-
-  tot = ibuf->x * ibuf->y;
-
-  rect = ibuf->rect;
-  rect_float = ibuf->rect_float;
-
-  if (rect) {
-    memset(rect, 0, tot * sizeof(char) * 4);
-  }
-
-  if (rect_float) {
-    memset(rect_float, 0, tot * sizeof(float) * 4);
-  }
-}
-
 static void multibuf(ImBuf *ibuf, const float fmul)
 {
   char *rt;



More information about the Bf-blender-cvs mailing list