Skip to content

1.1.2

Latest

Choose a tag to compare

@jrouwe jrouwe released this 21 Nov 14:43
· 1 commit to main since this release

Small bug fixes:

  • JobSystemThreadPool could run out of jobs ("No jobs available!" assert) when its worker threads didn't get scheduled, e.g. when there were more worker threads than CPU cores available to the process. The assert is a trace now and the underlying issue has been fixed.
  • ConvexHullShape::GetTrianglesNext would not split faces into multiple batches when the number of triangles in a single face was bigger than inMaxTrianglesRequested. In this case it would return 0 which made the calling code think that all triangles were collected when they were not.
  • HeightFieldShape::GetTrianglesNext could return the same triangles multiple times when the output buffer was full in the middle of a block.
  • HeightFieldShape::Clone of a height field without any collision returned a shape that had uninitialized buffers and could report collision.
  • HeightFieldShapeSettings::CalculateBitsPerSampleForError read out of bounds when mSampleCount was not a multiple of mBlockSize.
  • A flat HeightFieldShape with a number of blocks per side that is not a power of 2 could return collisions and triangles beyond its far edges (and read out of bounds) because the inside-out height range of the padding blocks became valid after dequantization.
  • MotionProperties::SetMassProperties replaced small but valid inertia tensors (all principal moments below about 1e-6 kg m^2) with the inertia of a sphere of radius 1 m. The degenerate inertia check is now relative to the mass of the body.