Skip to content

Commit c3447b9

Browse files
committed
Revert "fix(Controls): prevent button anchor changing on enable"
This reverts commit 915fa2f. The commit causes unwanted behaviour with the buttons when the scene is built. Related issue: #1469 It would seem it is down to Unity Engine bugs.
1 parent 71ee452 commit c3447b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Assets/VRTK/Source/Scripts/Controls/3D/VRTK_Button.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ protected virtual void DetectJointSetup()
194194
}
195195

196196
buttonJoint.connectedBody = (connectedTo != null ? connectedTo.GetComponent<Rigidbody>() : buttonJoint.connectedBody);
197-
buttonJoint.autoConfigureConnectedAnchor = false;
198197
}
199198

200199
protected virtual void DetectJointLimitsSetup()

0 commit comments

Comments
 (0)