SofaDefrost / STLIB

Sofa Template Library
GNU Lesser General Public License v3.0
17 stars 22 forks source link

[stlib3] Wrong use of properties in VisualModel #79

Closed EulalieCoevoet closed 10 months ago

EulalieCoevoet commented 2 years ago

Hi,

Following the discussion from this issue, the way we use the properties in the prefab VisualModel is not correct. Adding the components of the prefab from the init() method and using the properties results in odd behaviors due to the data callback mechanism. We should update these prefabs:

EulalieCoevoet commented 2 years ago

This is fixed in https://github.com/SofaDefrost/STLIB/pull/80