Page MenuHome

(possible) fix for #31754:Width Fade value of 2.0 behaves incorrectly
Closed, ResolvedPublicPATCH

Description

Patch for: T31754

once "width fade" reaches a value of 2.0, strandbuf->widthfade will be zero and as a consequence the part of strand_shade_segment() in strand.c which is responsible for the alpha gets skipped.
got a "hack" patch attached (not sure if this is the best fix, but it works :))

Event Timeline

just noticed the first fix would alter "old" renders slightly so attaching v02 which should work better

hm, can't attach another file for some reason... so v02 is also at http://www.pasteall.org/32745

Slightly modified fix committed in svn, thanks!

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Jun 13 2012, 5:34 PM