fix soapbubble fx

This commit is contained in:
shun-iwasawa 2023-06-12 12:21:01 +09:00 committed by manongjohn
parent 6ea48d78c9
commit 31c0770994

View file

@ -331,7 +331,8 @@ void Iwa_SoapBubbleFx::doCompute(TTile& tile, double frame,
allocatedRasList.append(bubbleColor_ras);
float3* bubbleColor_p = (float3*)bubbleColor_ras->getRawData();
if (m_renderMode->getValue() == RENDER_MODE_BUBBLE)
calcBubbleMap(bubbleColor_p, frame, tile.getRaster()->isLinear(), true);
calcBubbleMap(bubbleColor_p, frame, tile.getRaster()->isLinear(),
settings.m_colorSpaceGamma, true);
if (checkCancelAndReleaseRaster(allocatedRasList, tile, settings)) return;