File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1306,9 +1306,9 @@ renderer::Stroke::Stroke(model::Stroke *data)
13061306static vthread_local std::vector<float > Dash_Vector;
13071307
13081308bool renderer::Stroke::updateContent (int frameNo, const VMatrix &matrix,
1309- float )
1309+ float alpha )
13101310{
1311- auto combinedAlpha = mModel .opacity (frameNo);
1311+ auto combinedAlpha = alpha * mModel .opacity (frameNo);
13121312 auto color = mModel .color (frameNo).toColor (combinedAlpha);
13131313
13141314 VBrush brush (color);
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void renderer::Layer::buildLayerNode()
8888 mCApiData = std::make_unique<renderer::CApiData>();
8989 clayer ().keypath = name ();
9090 }
91- if (complexContent ()) clayer ().mAlpha = uint8_t (combinedAlpha () * 255 .f );
91+ if (! complexContent ()) clayer ().mAlpha = uint8_t (combinedAlpha () * 255 .f );
9292 clayer ().mVisible = visible ();
9393 // update matte
9494 if (hasMatte ()) {
You can’t perform that action at this time.
0 commit comments