| 921 | } |
| 922 | |
| 923 | void |
| 924 | Node::removeAllImagesFromCacheWithMatchingIDAndDifferentKey(U64 nodeHashKey) |
| 925 | { |
| 926 | AppInstancePtr app = getApp(); |
| 927 | |
| 928 | if (!app) { |
| 929 | return; |
| 930 | } |
| 931 | ProjectPtr proj = app->getProject(); |
| 932 | |
| 933 | if ( proj->isProjectClosing() || proj->isLoadingProject() ) { |
| 934 | return; |
| 935 | } |
| 936 | appPTR->removeAllImagesFromCacheWithMatchingIDAndDifferentKey(this, nodeHashKey); |
| 937 | appPTR->removeAllImagesFromDiskCacheWithMatchingIDAndDifferentKey(this, nodeHashKey); |
| 938 | ViewerInstance* isViewer = dynamic_cast<ViewerInstance*>( _imp->effect.get() ); |
| 939 | if (isViewer) { |
| 940 | //Also remove from viewer cache |
| 941 | appPTR->removeAllTexturesFromCacheWithMatchingIDAndDifferentKey(this, nodeHashKey); |
| 942 | } |
| 943 | } |
| 944 | |
| 945 | void |
| 946 | Node::removeAllImagesFromCache(bool blocking) |
nothing calls this directly
no test coverage detected