Blender Git Commit Log

Git Commits -> Revision 9dd1947

Revision 9dd1947 by Bastien Montagne (master)
February 23, 2017, 09:39 (GMT)
Fix T50736: Zero streaks in Glare node.

Please never, ever use same DNA var for two different things. Even worse
if they do not have same type and ranges!

This is only ensuring issues (as described in report, but also if
animating both RNA props using same DNA var... yuck).

And we were not even saving any byte in DNA, could reuse some padding
there to store the two new needed vars (yes, two, since we cannot re-use
existing one if we want to keep backward *and* forward compatibility).

Commit Details:

Full Hash: 9dd194716b0f43fa02ae6cd32ada556d8d622390
Parent Commit: 7359cc1
Lines Changed: +58, -14

7 Modified Paths:

/source/blender/blenloader/intern/versioning_270.c (+23, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+19, -0) (Diff)
/source/blender/compositor/operations/COM_GlareSimpleStarOperation.cpp (+8, -8) (Diff)
/source/blender/compositor/operations/COM_GlareStreaksOperation.cpp (+1, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+3, -3) (Diff)
/source/blender/nodes/composite/nodes/node_composite_glare.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021