Consolidate public API into a single callable 'GetPath' method
This commit is contained in:
parent
dd91bba01b
commit
79ed39cf8b
2 changed files with 2 additions and 2 deletions
|
|
@ -190,7 +190,7 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
string sourceExtension = $".{firstItem.ContentType}";
|
||||
string assetPath = await AssetObject3D.AssetManager.StoreMcx(loadedItem, false);
|
||||
|
||||
string gcodePath = printer.GCodePath(HashGenerator.ComputeFileSHA1(assetPath));
|
||||
string gcodePath = printer.GetGCodePathAndFileName(assetPath);
|
||||
|
||||
if (ApplicationSettings.ValidFileExtensions.IndexOf(sourceExtension, StringComparison.OrdinalIgnoreCase) >= 0
|
||||
|| string.Equals(sourceExtension, ".mcx", StringComparison.OrdinalIgnoreCase))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue