Skip to content

Commit

Permalink
Merge pull request #10 from betato/develop
Browse files Browse the repository at this point in the history
Fixes #8
  • Loading branch information
betato authored Oct 5, 2020
2 parents cae82a0 + c350299 commit 820b5f5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions RocketcadManagerPlugin/Addin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,7 @@ private void SaveCadInfo(string filename)
(int)swMessageBoxIcon_e.swMbInformation, (int)swMessageBoxBtn_e.swMbOk);
#endif
if (!FilePathGood(filename))
{
swApp.SendMsgToUser2(string.Format("Error! Invalid file path. {0}", filename),
(int)swMessageBoxIcon_e.swMbStop, (int)swMessageBoxBtn_e.swMbOk);
return;
}
return; // File is not in a cad directory
ModelDoc2 swModel = swApp.ActiveDoc;
if (swModel == null)
{
Expand Down

0 comments on commit 820b5f5

Please sign in to comment.