(Constraints) Ensure first value is baked appropriately if no weight-input is given 12/28712/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 14 Oct 2014 09:19:39 +0000 (10:19 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 14 Oct 2014 12:13:27 +0000 (13:13 +0100)
commitd743f90faaf01704c6bc24840e70acfd6dc99510
tree132d72d7a309f0ea849a0b3d29e15231e8f55f16
parent3770382c0fb2314c15ba6e375aa731a842e06f7f
(Constraints) Ensure first value is baked appropriately if no weight-input is given

[problem]      We NEVER bake the first value of a constraint.
[cause]        The weight input value is always dirty on initialisation and in this scenario we always set.
[solution]     Do not consider the dirty flag of the weight-input value when we first apply the
               constraint.

Change-Id: Ic88fd4cb3d30483b0b131fda4fcfa6ccd9d96c70
dali/internal/update/animation/scene-graph-constraint.h