Changes

Summary

  1. [GUI] Add ConstraintAttachButtonSetting (#4601) (details)
  2. [Collision.Response.Contact] Make contactId thread-safe (#4582) (details)
Commit 7d4f1e23c7b82e66ea903b38128d344743aa75d5 by noreply
[GUI] Add ConstraintAttachButtonSetting (#4601)

* Add ConstraintAttachButtonSetting to allow configuraiton of lagrangian based mouse interaction directly in the scene

* add example scene and remove alias

* Add comment to the class declaration in the header

* Added comment into the scene file

* Update Sofa/GUI/Component/src/sofa/gui/component/ConstraintAttachButtonSetting.h

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

* Update Sofa/GUI/Component/src/sofa/gui/component/ConstraintAttachButtonSetting.cpp

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>

---------

Co-authored-by: Alex Bilger <alxbilger@users.noreply.github.com>
Co-authored-by: Frederick Roy <fredroy@users.noreply.github.com>
The file was addedSofa/GUI/Component/src/sofa/gui/component/ConstraintAttachButtonSetting.cpp
The file was modifiedSofa/GUI/Component/CMakeLists.txt (diff)
The file was modifiedexamples/Demos/fallingBeamLagrangianCollision.scn (diff)
The file was addedSofa/GUI/Component/src/sofa/gui/component/ConstraintAttachButtonSetting.h
Commit 34346a2416300a231aadb48a1a30fd60e2618a8a by noreply
[Collision.Response.Contact] Make contactId thread-safe (#4582)

* local storage for available ids

* remove availableId and make the counter atomic

* fix compilation for linux

---------

Co-authored-by: erik pernod <erik.pernod@gmail.com>
The file was modifiedSofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact/ContactIdentifier.h (diff)
The file was modifiedSofa/Component/Collision/Response/Contact/src/sofa/component/collision/response/contact/ContactIdentifier.cpp (diff)