mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 12:50:07 +01:00
updated alphaFlame variables so negate/rgb order works
This commit is contained in:
@@ -1552,6 +1552,9 @@ void changePixel(cv::Mat &full_buffer, int i, int z, cv::Vec3b &buffer, double p
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if(ac::in_custom == true) return;
|
||||
|
||||
buffer[0] += red;
|
||||
buffer[1] += green;
|
||||
buffer[2] += blue;
|
||||
|
||||
@@ -450,6 +450,8 @@ void AC_MainWindow::timer_Camera() {
|
||||
else if(paused == true) return;
|
||||
ac::isNegative = chk_negate->isChecked();
|
||||
ac::color_order = combo_rgb->currentIndex();
|
||||
negate = ac::isNegative;
|
||||
reverse = ac::color_order;
|
||||
cv::Mat mat;
|
||||
if(capture_camera.read(mat) == false) {
|
||||
controls_Stop();
|
||||
@@ -507,6 +509,8 @@ void AC_MainWindow::timer_Video() {
|
||||
|
||||
ac::isNegative = chk_negate->isChecked();
|
||||
ac::color_order = combo_rgb->currentIndex();
|
||||
negate = ac::isNegative;
|
||||
reverse = ac::color_order;
|
||||
cv::Mat mat;
|
||||
if(capture_video.read(mat) == false) {
|
||||
controls_Stop();
|
||||
|
||||
Reference in New Issue
Block a user