Skip to content

Commit

Permalink
Fix typos (#90)
Browse files Browse the repository at this point in the history
* Fix typos

* Fix unused variable warning.
  • Loading branch information
billyquith authored Apr 10, 2021
1 parent 107447d commit 7a5d508
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ public static bool InitReferenceImagePath(string[] defaultImages) {
}
}

// Poplulate the reference images folder exactly once.
// Populate the reference images folder exactly once.
int seeded = PlayerPrefs.GetInt(kReferenceImagesSeeded);
if (seeded == 0) {
foreach (string fileName in defaultImages) {
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/CanvasScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public BatchManager BatchManager {
/// This helper gives you a canvas-relative view of the transform.
/// The syntax is a slight abuse of C#:
///
/// TrTranform xf_CS = myCanvas.AsCanvas[gameobj.transform];
/// TrTransform xf_CS = myCanvas.AsCanvas[gameobj.transform];
/// myCanvas.AsCanvas[gameobj.transform] = xf_CS;
///
/// Safe to use during Awake()
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Input/BaseControllerBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

namespace TiltBrush {

// Basic controller behaviors shared between the Wand and the Brush, both of which directly derrive
// Basic controller behaviors shared between the Wand and the Brush, both of which directly derive
// directly from BaseControllerBehavior.
public class BaseControllerBehavior : MonoBehaviour {

Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Rendering/UsdPathSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public bool StartRecording(string path, string sketchName = "/Sketch", string xf
m_UsdCamera = new UsdCameraXformSample();
try {
m_Scene = USD.NET.Scene.Create(path);
} catch (ApplicationException e) {
} catch (ApplicationException /*e*/) {
Debug.LogError("Error creating usda file!");
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/VrSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ public void SetControllerStyle(ControllerStyle style) {

// Stitches together these things:
// - Behavior, which encapsulates Wand and Brush
// - Geometry, which encapsulates phsyical controller appearance (Touch, Knuckles, ...)
// - Geometry, which encapsulates physical controller appearance (Touch, Knuckles, ...)
// - Info, which encapsulates VR APIs (OVR, SteamVR, GVR, ...)
public ControllerInfo CreateControllerInfo(BaseControllerBehavior behavior, bool isLeftHand) {
if (App.Config.m_SdkMode == SdkMode.SteamVR) {
Expand Down

0 comments on commit 7a5d508

Please sign in to comment.