== Sequencer ==
authorPeter Schlaile <peter@schlaile.de>
Sat, 9 Feb 2008 23:11:05 +0000 (23:11 +0000)
committerPeter Schlaile <peter@schlaile.de>
Sat, 9 Feb 2008 23:11:05 +0000 (23:11 +0000)
Since mul changed into master gain slider, slightly raised limit, so that
color balance doesn't get too dark.

Fixed crash in float->float color balance.

source/blender/src/buttons_scene.c
source/blender/src/sequence.c

index 4c85c11b1470e16964aa00585855f0f70b7363c3..e3159e58f554cfc7bf1fa8bf0bc30456efc6382a 100644 (file)
@@ -925,7 +925,7 @@ static void seq_panel_filter_video()
                
        uiDefButF(block, NUM, B_SEQ_BUT_RELOAD, "Mul:",
                  10,70,120,19, &last_seq->mul, 
                
        uiDefButF(block, NUM, B_SEQ_BUT_RELOAD, "Mul:",
                  10,70,120,19, &last_seq->mul, 
-                 0.001, 5.0, 0.1, 0, 
+                 0.001, 20.0, 0.1, 0, 
                  "Multiply colors");
 
        uiDefButF(block, NUM, B_SEQ_BUT_RELOAD, "Strobe:",
                  "Multiply colors");
 
        uiDefButF(block, NUM, B_SEQ_BUT_RELOAD, "Strobe:",
index cc5869c07e408a5a5d14e76e0a228698c00e4387..de5b1d708f2efb4a3b7a0d06d28a9b88d0d3bb6b 100644 (file)
@@ -1365,6 +1365,7 @@ static void color_balance_float_float(Sequence * seq, TStripElem* se,
                        p[c] = pow((p[c] + cb.lift[c]) * cb.gain[c], 
                                   cb.gamma[c]) * mul;
                }
                        p[c] = pow((p[c] + cb.lift[c]) * cb.gain[c], 
                                   cb.gamma[c]) * mul;
                }
+               p += 4;
        }
 }
 
        }
 }