@@ -245,6 +245,8 @@ asset::SAssetBundle CSerializedLoader::loadAsset(system::IFile* _file, const ass
245
245
std::for_each_n (core::execution::seq,reinterpret_cast <const hlsl::float64_t3*>(ptr),vertexCount,readNormal);
246
246
else
247
247
std::for_each_n (core::execution::seq,reinterpret_cast <const hlsl::float32_t3*>(ptr),vertexCount,readNormal);
248
+ CGeometryManipulator::recomputeRange (view);
249
+ CGeometryManipulator::recomputeContentHash (view);
248
250
geo->setNormalView (std::move (view));
249
251
}
250
252
ptr += vertexCount*typeSize*3 ;
@@ -262,6 +264,8 @@ asset::SAssetBundle CSerializedLoader::loadAsset(system::IFile* _file, const ass
262
264
else
263
265
std::for_each_n (core::execution::seq,reinterpret_cast <const hlsl::float32_t2*>(ptr),vertexCount,readUV);
264
266
ptr += vertexCount*typeSize*2 ;
267
+ CGeometryManipulator::recomputeRange (view);
268
+ CGeometryManipulator::recomputeContentHash (view);
265
269
auxViews->push_back (std::move (view));
266
270
}
267
271
using color_t = hlsl::float16_t4;
@@ -274,6 +278,8 @@ asset::SAssetBundle CSerializedLoader::loadAsset(system::IFile* _file, const ass
274
278
else
275
279
std::for_each_n (core::execution::seq,reinterpret_cast <const hlsl::float32_t4*>(ptr),vertexCount,readColor);
276
280
ptr += vertexCount*typeSize*4 ;
281
+ CGeometryManipulator::recomputeRange (view);
282
+ CGeometryManipulator::recomputeContentHash (view);
277
283
auxViews->push_back (std::move (view));
278
284
}
279
285
0 commit comments