This patch fixes T85225 introduced in rB74188e65028d268af887ab2140e4253087410c1e. The commit incorrectly moved the declaration and intialization of the variable pwr inside the loop. Since the value was originally modified in each iteration based on it's previous value and pwHL through pwr *= pwHL, this change in scope is wrong. It resets the value in each iteration. This patch moves the declaration of pwr outside the loop again.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- 2021-01-30-noise (branched from master)
- Build Status
Buildable 12493 Build 12493: arc lint + arc unit