SofaDefrost / STLIB

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

FIX: ElasticMaterialObject prefab creation #34

Closed marques-bruno closed 4 years ago

marques-bruno commented 5 years ago

The createPrefab method was declared as static, but "self" was passed to it and used internally. (thus I don't see why that would be a static method...) It was causing issues in the CableGripper tutorial (step0)

The decorator was probably here for a reason, so let me know if I misread the purpose of this code...