Skip to content

Commit

Permalink
Fixed File Path Casing
Browse files Browse the repository at this point in the history
Former-commit-id: f50a83e
  • Loading branch information
MattMoradi committed Jul 19, 2019
1 parent e236894 commit dfb4607
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions engine/unity5/Assets/Scripts/GUI/SimUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ public void ToggleChangeRobotPanel()
changeRobotPanel.SetActive(true);
robotListPanel.SetActive(true);
GameObject.Find("PathLabel").GetComponent<Text>().text = PlayerPrefs.GetString("Robot", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
+ Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "synthesis" + Path.DirectorySeparatorChar + "Robots"));
+ Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "Synthesis" + Path.DirectorySeparatorChar + "Robots"));
}
}

Expand Down Expand Up @@ -561,7 +561,7 @@ public void ToggleChangeFieldPanel()
EndOtherProcesses();
changeFieldPanel.SetActive(true);
GameObject.Find("PathLabel").GetComponent<Text>().text = PlayerPrefs.GetString("FieldDirectory", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
+ Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "synthesis" + Path.DirectorySeparatorChar + "Fields"));
+ Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "Synthesis" + Path.DirectorySeparatorChar + "Fields"));
}
}

Expand Down
2 changes: 1 addition & 1 deletion engine/unity5/Assets/Scripts/States/MainState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public override void Awake()
//}
}

robotDirectory = PlayerPrefs.GetString("RobotDirectory", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "synthesis" + Path.DirectorySeparatorChar + "Robots"));
robotDirectory = PlayerPrefs.GetString("RobotDirectory", (Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + Path.DirectorySeparatorChar + "Autodesk" + Path.DirectorySeparatorChar + "Synthesis" + Path.DirectorySeparatorChar + "Robots"));
Environment.SetEnvironmentVariable("MONO_REFLECTION_SERIALIZER", "yes");
GImpactCollisionAlgorithm.RegisterAlgorithm((CollisionDispatcher)BPhysicsWorld.Get().world.Dispatcher);
//BPhysicsWorld.Get().DebugDrawMode = DebugDrawModes.DrawWireframe | DebugDrawModes.DrawConstraints | DebugDrawModes.DrawConstraintLimits;
Expand Down

0 comments on commit dfb4607

Please sign in to comment.