File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1153,6 +1153,8 @@ bool CAssetConverter::CHashCache::hash_impl::operator()(lookup_t<ICPUBottomLevel
1153
1153
hasher << lookup.patch ->hostBuild ;
1154
1154
hasher << lookup.patch ->compactAfterBuild ;
1155
1155
// finally the contents
1156
+ if (lookup.asset ->getContentHash ()==NoContentHash)
1157
+ return false ;
1156
1158
hasher << lookup.asset ->getContentHash ();
1157
1159
return true ;
1158
1160
}
@@ -1232,6 +1234,8 @@ bool CAssetConverter::CHashCache::hash_impl::operator()(lookup_t<ICPUImage> look
1232
1234
creationFlags |= create_flags_t ::ECF_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT;
1233
1235
hasher << creationFlags;
1234
1236
// finally the contents
1237
+ if (lookup.asset ->getContentHash ()==NoContentHash)
1238
+ return false ;
1235
1239
hasher << lookup.asset ->getContentHash ();
1236
1240
return true ;
1237
1241
}
@@ -1335,6 +1339,8 @@ bool CAssetConverter::CHashCache::hash_impl::operator()(lookup_t<ICPUPipelineCac
1335
1339
if (entry.first .meta )
1336
1340
hasher.update (entry.first .meta ->data (),entry.first .meta ->size ());
1337
1341
}
1342
+ if (lookup.asset ->getContentHash ()==NoContentHash)
1343
+ return false ;
1338
1344
hasher << lookup.asset ->getContentHash ();
1339
1345
return true ;
1340
1346
}
You can’t perform that action at this time.
0 commit comments