Bugfix #20940: Offset always resets to 1 in follow path constraint
authorJoshua Leung <aligorith@gmail.com>
Wed, 3 Feb 2010 09:05:31 +0000 (09:05 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 3 Feb 2010 09:05:31 +0000 (09:05 +0000)
commit53596fc6b8f47d9dec633b1ea5ae56a893d0cf3f
tree535776eddcc74e9a221b89f572fdb929820d2bf8
parent742ef3b4cc5dabb337e6afe20d6f016106c8bc10
Bugfix #20940: Offset always resets to 1 in follow path constraint

Made the 'Offset Factor' setting use a separate variable from the 'Offset' setting in the DNA stuff. While we could get away with this sort of thing in the past, it turns out that with the Datablocks viewer these days, settings sharing an internal var but with different ranges/behaviour doesn't work well anymore, since later instances override earlier ones.
source/blender/blenkernel/intern/constraint.c
source/blender/makesdna/DNA_constraint_types.h
source/blender/makesrna/intern/rna_constraint.c