-
Emmanuele Bassi authored
When defining an Alpha in ClutterScript we should allow setting the alpha function by using a custom property. This makes it possible to have both: { "id" : "behaviour-1", "type" : "ClutterBehaviourDepth", "alpha" : { "timeline" : "timeline-1", "function" : "alpha_func" }, ... } And: { "id" : "alpha-1", "type" : "ClutterAlpha", "timeline" : "timeline-1", "function" : "alpha_func" }, { "id" : "behaviour-1", "type" : "ClutterBehaviourDepth", "alpha" : "alpha-1", ... } The latter allows defining a single alpha function for multiple behaviours.
f0ed71c7