Fix opacity inheritance for linked layers


In After Effects, linked layers (parent layers) should only pass
their spatial transformations to their children, not their opacity.
Previously, the Lottie renderer was incorrectly multiplying
the child's opacity by the parent's opacity.

This change introduces a flag to track if a transform is part of
a linked layer chain. When rendering a layer with a linked transform,
the painter's opacity is reset before applying the current layer's
opacity.

Fixes: QTBUG-145066
Change-Id: I5a84f0cf235a6b784c2d91f83fe1a1999f5da204
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commit0d46c5ae28b8d6cdda2c84fc2f8d2e7ae5c8e8ca
parent641892764d79f0923366a0b3dfd88c2d36648f22
authorKwanghyo Park <kwanghyo.park@qt.io>
committerKwanghyo Park <kwanghyo.park@qt.io>
commit timeSat, 21 Mar 2026 06:50:03 +0200