Skip to content

Commit 742ea16

Browse files
authored
766 unable to continue using manual control if reached limit (#770)
* Update Rider package * Do not crash if motion invalid * Document what happens if movement fails
1 parent c851eb2 commit 742ea16

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Assets/Scripts/Pinpoint/Probes/Controllers/CartesianProbeController.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,8 @@ private async void MoveProbe_XYZD(Vector4 direction, float speed)
489489
// Disable/ignore more input until movement is done.
490490
ManipulatorKeyboardMoveInProgress = true;
491491

492-
// Call movement and re-enable input when done.
493-
if (!await ProbeManager.ManipulatorBehaviorController.MoveByWorldSpaceDelta(posDelta))
494-
return;
492+
// Call movement (does nothing if movement is invalid).
493+
await ProbeManager.ManipulatorBehaviorController.MoveByWorldSpaceDelta(posDelta);
495494

496495
// Re-enable input.
497496
ManipulatorKeyboardMoveInProgress = false;

Packages/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"com.unity.addressables": "2.2.2",
44
"com.unity.ai.navigation": "2.0.5",
55
"com.unity.animation.rigging": "1.3.0",
6-
"com.unity.ide.rider": "3.0.34",
6+
"com.unity.ide.rider": "3.0.35",
77
"com.unity.ide.visualstudio": "2.0.22",
88
"com.unity.inputsystem": "1.11.2",
99
"com.unity.memoryprofiler": "1.1.1",

Packages/packages-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"url": "https://packages.unity.com"
7272
},
7373
"com.unity.ide.rider": {
74-
"version": "3.0.34",
74+
"version": "3.0.35",
7575
"depth": 0,
7676
"source": "registry",
7777
"dependencies": {

0 commit comments

Comments
 (0)