Skip to content

25 04 use reusable method in prefabs instead of self add object - #493

Open
bakpaul wants to merge 33 commits into
sofa-framework:25_04_work_on_new_prefabsfrom
bakpaul:25_04_use_reusable_method_in_prefabs_instead_of_self_addObject
Open

25 04 use reusable method in prefabs instead of self add object#493
bakpaul wants to merge 33 commits into
sofa-framework:25_04_work_on_new_prefabsfrom
bakpaul:25_04_use_reusable_method_in_prefabs_instead_of_self_addObject

Conversation

@bakpaul

Copy link
Copy Markdown
Contributor

Add a reusable addObject method in splib.utils. This method should be used everywhere in the prefab instead of self.addObject when just adding SOFA component to enable the use of kwargs.

* [stlib-splib] cleaning
* revert collisionModel
@bakpaul
bakpaulforce-pushed the 25_04_work_on_new_prefabs branch from 602568a to 9de87d4CompareOctober 28, 2025 08:58
@bakpaul
bakpaulforce-pushed the 25_04_work_on_new_prefabs branch from 92dccd9 to 8b239c6CompareApril 8, 2026 15:42
@bakpaul
bakpaulforce-pushed the 25_04_work_on_new_prefabs branch 2 times, most recently from 55ff092 to 09c1c67CompareMay 19, 2026 15:19
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bakpaul@EulalieCoevoet@hugtalbot