Skip to content

Commit 0aa17e5

Browse files
committed
chore: minor fixes
1 parent f4b5edd commit 0aa17e5

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Assets/Scripts/Accounts/ActiveExperimentUI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ private void UpdateUIPanels()
119119
insertionUI.SetColor(insertionData.color);
120120

121121
if (Settings.DisplayUM)
122-
insertionUI.UpdateDescription(string.Format("AP {0} ML {1} DV {2} Phi {3} Theta {4} Spin {5}",
122+
insertionUI.UpdateDescription(string.Format("AP {0} ML {1} DV {2} Yaw {3} Pitch {4} Roll {5}",
123123
Mathf.RoundToInt(insertionData.ap * 1000f), Mathf.RoundToInt(insertionData.ml * 1000f), Mathf.RoundToInt(insertionData.dv * 1000f),
124124
angles.x, angles.y, angles.z));
125125
else
126-
insertionUI.UpdateDescription(string.Format("AP {0:0.00} ML {1:0.00} DV {2:0.00} Phi {3} Theta {4} Spin {5}",
126+
insertionUI.UpdateDescription(string.Format("AP {0:0.00} ML {1:0.00} DV {2:0.00} Yaw {3} Pitch {4} Roll {5}",
127127
insertionData.ap, insertionData.ml, insertionData.dv,
128128
angles.x, angles.y, angles.z));
129129
}

Assets/Scripts/TrajectoryPlanner/TrajectoryPlannerManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,8 +1107,8 @@ private void AccountsNewProbeHelper((Vector3 apmldv, Vector3 angles, int type, s
11071107
ProbeManager newProbeManager = AddNewProbe((ProbeProperties.ProbeType)data.type, new ProbeInsertion(data.apmldv, data.angles, CoordinateSpaceManager.ActiveCoordinateSpace, CoordinateSpaceManager.ActiveCoordinateTransform), data.UUID);
11081108
if (data.overrideName != null)
11091109
newProbeManager.OverrideName = data.overrideName;
1110-
Debug.Log($"Overriding color: {data.color}");
1111-
newProbeManager.Color = data.color;
1110+
if (data.color != null)
1111+
newProbeManager.Color = data.color;
11121112
}
11131113

11141114
#endregion

Assets/Unisave/Backend/Entities/PlayerEntity.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public PlayerEntity()
6969
}
7070
}
7171

72+
[Serializable]
7273
public class ServerProbeInsertion
7374
{
7475
public string name;

0 commit comments

Comments
 (0)