OpenToonz - An open-source full-featured 2D animation creation software
C
fix camera capture on mac
shun-iwasawa03604dac6b3f
diff --git a/toonz/sources/toonz/penciltestpopup.cpp b/toonz/sources/toonz/penciltestpopup.cppindex 2dca8ac22..46728caf3 100644--- a/toonz/sources/toonz/penciltestpopup.cpp+++ b/toonz/sources/toonz/penciltestpopup.cpp@@ -602,14 +602,6 @@ MyVideoWidget::MyVideoWidget(QWidget* parent), m_upsideDown(false), m_countDownTime(0), m_subCameraRect(QRect()) {- setAutoFillBackground(false);- setAttribute(Qt::WA_NoSystemBackground, true);- setAttribute(Qt::WA_PaintOnScreen, true);-- QPalette palette = this->palette();- palette.setColor(QPalette::Background, Qt::black);- setPalette(palette);-setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);m_surface = new MyVideoSurface(this);