Skip to content

Commit b793230

Browse files
committed
fix(PolyDataMapper): Update VBO build time even when reusing VBO
This build time is used to check if rebuild is needed This will avoid `getNeedToRebuildBufferObjects` to always return true It didn't rebuild the VBO but entered `buildBufferObjects` because of that
1 parent 3054982 commit b793230

File tree

1 file changed

+1
-1
lines changed
  • Sources/Rendering/OpenGL/PolyDataMapper

1 file changed

+1
-1
lines changed

Sources/Rendering/OpenGL/PolyDataMapper/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,9 +1947,9 @@ function vtkOpenGLPolyDataMapper(publicAPI, model) {
19471947
publicAPI.updateMaximumPointCellIds();
19481948
}
19491949

1950-
model.VBOBuildTime.modified();
19511950
model.VBOBuildString = toString;
19521951
}
1952+
model.VBOBuildTime.modified();
19531953
};
19541954

19551955
publicAPI.getAllocatedGPUMemoryInBytes = () => {

0 commit comments

Comments
 (0)