FOSSIL icon indicating copy to clipboard operation
FOSSIL copied to clipboard

Recompute metrix does not update self from translate

Open bassenj opened this issue 6 years ago • 2 comments

Thanks you for this very useful library.

When applying translate to the surface, I was surprised that the bounding box did not update despite recompute_metrix being true. I found that it is only forwarded to the facets but missing for itself: https://github.com/szaghi/FOSSIL/blob/cce3c217f9b23ac798e877dca0021afdb481b28d/src/lib/fossil_surface_stl.f90#L625-L627

In resize for instance, this is present: https://github.com/szaghi/FOSSIL/blob/cce3c217f9b23ac798e877dca0021afdb481b28d/src/lib/fossil_surface_stl.f90#L490-L492

bassenj avatar Apr 10 '19 13:04 bassenj

Hi @bassenj

Thank you very much for the bug report, I'll fix soon (sorry for my delay, but I was busy).

szaghi avatar Apr 12 '19 09:04 szaghi

@bassenj

I have pushed a new release (1.0.5) for fixing this bug, let me know if all work well.

Thank you again.

szaghi avatar Apr 12 '19 09:04 szaghi