Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix column transparency to work on rendering

shun-iwasawa402de902ed1b
diff --git a/toonz/sources/toonzlib/scenefx.cpp b/toonz/sources/toonzlib/scenefx.cpp
index 691b5a129..9f1d44088 100644
--- a/toonz/sources/toonzlib/scenefx.cpp
+++ b/toonz/sources/toonzlib/scenefx.cpp
@@ -976,7 +976,7 @@ PlacedFx FxBuilder::makePF(TLevelColumnFx *lcfx) {
(column->isCamstandVisible() && column->getOpacity() != 255))) {
TPixel32 colorScale = m_scene->getProperties()->getColorFilterColor(
column->getColorFilterId());
- if (colorScale != TPixel::Black) {
+ if (colorScale != TPixel::Black || column->getOpacity() != 255) {
colorScale.m = (typename TPixel32::Channel)((int)colorScale.m *
(int)column->getOpacity() /
TPixel32::maxChannelValue);