mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-17 20:30:00 +01:00
forgot to apply effects during filter fade
This commit is contained in:
@@ -187,13 +187,14 @@ void Playback::run() {
|
|||||||
|
|
||||||
if(single_mode == true && alpha > 0) {
|
if(single_mode == true && alpha > 0) {
|
||||||
filterFade(frame, current_filter, prev_filter, alpha);
|
filterFade(frame, current_filter, prev_filter, alpha);
|
||||||
|
drawEffects(frame);
|
||||||
alpha -= 0.08;
|
alpha -= 0.08;
|
||||||
} else if(single_mode == true) {
|
} else if(single_mode == true) {
|
||||||
mutex.lock();
|
mutex.lock();
|
||||||
ac::in_custom = false;
|
ac::in_custom = false;
|
||||||
drawFilter(frame, current_filter);
|
drawFilter(frame, current_filter);
|
||||||
msleep(duration/2);
|
|
||||||
drawEffects(frame);
|
drawEffects(frame);
|
||||||
|
msleep(duration/2);
|
||||||
mutex.unlock();
|
mutex.unlock();
|
||||||
} else if(cur.size()>0) {
|
} else if(cur.size()>0) {
|
||||||
mutex.lock();
|
mutex.lock();
|
||||||
|
|||||||
Reference in New Issue
Block a user