SofaDefrost / STLIB

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

[stlib3] RigidObject: fix color #78

Closed EulalieCoevoet closed 2 years ago

EulalieCoevoet commented 2 years ago

The prefab VisualModel is expecting a Vec4.

What seems wrong to me though is that instead of returning an error when calling VisualModel(color=[1,1,1]), it just adds a zero to the list... which btw gives a transparent visual model.