Homec4science

fix: add properties initialisation in constructor instead of default property

Description

fix: add properties initialisation in constructor instead of default property

Without this, the value of the properties are handles shared by all the instances of Scapula. So all the different scapula had the same CoordinateSystem and Plane instances, for example modifying SCase.shoudlers.right.auto.scapula.coordSys modified SCase.shoulders.left.manual.scapula.coordSys in the same way. Only one CoordinateSystem was instanciated and modified and both scapula were using it.

Details

Committed
Matthieu Boubat (lbovenus) <matthieu.boubat@alumni.epfl.ch>Thu, Jun 10, 23:36
Pushed
aterrierThu, Jun 10, 23:42
Parents
R8218:04b565d435b1: fix: prevent glenoid to load data if scapula is empty
Branches
Unknown
Tags
Unknown

Event Timeline

Matthieu Boubat (lbovenus) <matthieu.boubat@alumni.epfl.ch> committed R8218:66d615b3fff6: fix: add properties initialisation in constructor instead of default property (authored by Matthieu Boubat (lbovenus) <matthieu.boubat@alumni.epfl.ch>).Thu, Jun 10, 23:36