uncacheRoot method
dynamic
uncacheRoot(
- dynamic root
Implementation
uncacheRoot(root) {
var rootUuid = root.uuid, actionsByClip = _actionsByClip;
// for ( var clipUuid in actionsByClip ) {
actionsByClip.forEach((clipUuid, value) {
var actionByRoot = actionsByClip[clipUuid].actionByRoot, action = actionByRoot[rootUuid];
if (action != null) {
deactivateAction(action);
_removeInactiveAction(action);
}
});
var bindingsByRoot = _bindingsByRootAndName, bindingByName = bindingsByRoot[rootUuid];
if (bindingByName != null) {
for (var trackName in bindingByName) {
var binding = bindingByName[trackName];
binding.restoreOriginalState();
_removeInactiveBinding(binding);
}
}
}