| 151 | } |
| 152 | |
| 153 | void BinaryAsset::ClearDependencies() |
| 154 | { |
| 155 | for (auto& e : Dependencies) |
| 156 | { |
| 157 | auto asset = Cast<BinaryAsset>(Content::GetAsset(e.First)); |
| 158 | if (asset) |
| 159 | asset->_dependantAssets.Remove(this); |
| 160 | } |
| 161 | Dependencies.Clear(); |
| 162 | } |
| 163 | |
| 164 | void BinaryAsset::AddDependency(BinaryAsset* asset) |
| 165 | { |