diff --git a/OSCADSharp/OSCADSharp/Solids/ImportedModel.cs b/OSCADSharp/OSCADSharp/Solids/ImportedModel.cs index 493c821..73108aa 100644 --- a/OSCADSharp/OSCADSharp/Solids/ImportedModel.cs +++ b/OSCADSharp/OSCADSharp/Solids/ImportedModel.cs @@ -29,7 +29,6 @@ namespace OSCADSharp.Solids public ImportedModel(string filePath) { this.filePath = filePath; - this.correctPath(); //TODO: Attempt to compute bounds } @@ -41,23 +40,8 @@ namespace OSCADSharp.Solids public ImportedModel(string filePath, Bounds bounds) { this.filePath = filePath; - this.correctPath(); - this.objectBounds = bounds; } - - private void correctPath() - { - if (!File.Exists(this.filePath)) - { - string currentDir = Directory.GetCurrentDirectory(); - - if (!this.filePath.Contains(currentDir)) - { - this.filePath = currentDir + "\\" + this.filePath; - } - } - } #endregion #region OSCADObject Overrides