| 237 | } |
| 238 | |
| 239 | void AnimScript::init(const KeyMap& map, const QStringList& keys, const QMap<QString, QVariant>& paramValues){ |
| 240 | if(_path == "") |
| 241 | return; |
| 242 | end(); |
| 243 | _map = map; |
| 244 | _colors.init(map); |
| 245 | _colorBuffer.init(map); |
| 246 | _keys = keys; |
| 247 | _paramValues = paramValues; |
| 248 | setDuration(); |
| 249 | stopped = firstFrame = false; |
| 250 | initialized = true; |
| 251 | } |
| 252 | |
| 253 | void AnimScript::setDuration(){ |
| 254 | if(_info.absoluteTime){ |
nothing calls this directly
no outgoing calls
no test coverage detected