Skip to content

Commit 87c5c8c

Browse files
committed
Fix scene test
1 parent 11d594d commit 87c5c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/python3/Cochlear-Implant-Insertion/Scene_Cochlea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def createScene(rootNode):
6060
InstrumentCombined.addObject('AdaptiveBeamForceFieldAndMass', name="CatheterForceField", massDensity="0.000005", interpolation="@InterpolCatheter", printLog=False)
6161
InstrumentCombined.addObject('LinearSolverConstraintCorrection', printLog=False, wire_optimization="true")
6262
InstrumentCombined.addObject("FixedProjectiveConstraint", indices="0")
63-
InstrumentCombined.addObject('RestShapeSpringsForceField', name="MeasurementFF", indices="@m_ircontroller.indexFirstNode", stiffness="1e10", recompute_indices="1", angularStiffness="1e10", external_rest_shape="@../RefStartingPos/ReferencePos", externalIndices="0", drawSpring="1", springColor="1 0 0 1")
63+
InstrumentCombined.addObject('RestShapeSpringsForceField', name="MeasurementFF", indices="@m_ircontroller.indexFirstNode", stiffness="1e10", angularStiffness="1e10", external_rest_shape="@../RefStartingPos/ReferencePos", externalIndices="0", drawSpring="1", springColor="1 0 0 1")
6464

6565
CollisInstrumentCombined = InstrumentCombined.addChild('CollisInstrumentCombined')
6666
CollisInstrumentCombined.addObject('EdgeSetTopologyContainer', name="collisEdgeSet")

0 commit comments

Comments
 (0)