diff --git a/Hydrogent/src/HnMesh.cpp b/Hydrogent/src/HnMesh.cpp index 40a4372a..b3ac93ae 100644 --- a/Hydrogent/src/HnMesh.cpp +++ b/Hydrogent/src/HnMesh.cpp @@ -441,7 +441,7 @@ void HnMesh::UpdateRepr(pxr::HdSceneDelegate& SceneDelegate, m_DrawItemGpuTopologyDirty.store(true); } - if ((IndexDataDirty || AnyPrimvarDirty) && RenderParam != nullptr) + if ((m_DrawItemGpuGeometryDirty.load() || m_DrawItemGpuTopologyDirty.load()) && RenderParam != nullptr) { static_cast(RenderParam)->MakeAttribDirty(HnRenderParam::GlobalAttrib::MeshGeometry); ++m_GeometryVersion;