summaryrefslogtreecommitdiffstats
path: root/LICENSE.GPL3-EXCEPT
diff options
context:
space:
mode:
authorNicolas Guichard <nicolas.guichard@kdab.com>2020-02-14 12:50:00 +0100
committerNicolas Guichard <nicolas.guichard@kdab.com>2020-02-19 08:47:58 +0100
commit49dbe760e4e0d8a781b5336efdce4748a7d73a33 (patch)
treef3bb7adb0292bee4f752000509fc543ce9e89204 /LICENSE.GPL3-EXCEPT
parent045a143c2c72c72f264dd40f5da2994e647dc0ee (diff)
Fix QShaderGenerator crashing when a node port name prefixed another one
QShaderGenerator didn't handle substitutions like `vec4 $color = mix($color1, $color2, $fac);` Note that `$color` is a prefix to `$color1` and `$color2`. For the substitution `QByteArray::replace` was used so if `$color` was handled first and replaced by `v1`, `$color1` and `$color2` were never correctly replaced and instead became `v11` and `v12` which caused a crash later on. Change-Id: Idaf800fdac468f33c323eb722701da5f8eb918d6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'LICENSE.GPL3-EXCEPT')
0 files changed, 0 insertions, 0 deletions