RoyAwesome / WorldSmith

Open source Dota 2 Mod Editor
MIT License
59 stars 28 forks source link

Trying to open a removed addon at start causes exception #73

Closed AntonAderum closed 9 years ago

AntonAderum commented 9 years ago

If you remove a project that was loaded when you exited WorldSmith and then start WorldSmith it will error out on the function ProjectView.RecursivePopulateFromProject with DirectoryNotFoundException.

We need to handle removed/renamed directories when starting WorldSmith,

RoyAwesome commented 9 years ago

At startup, just check to see if the directory exists.

AntonAderum commented 9 years ago

Yeah, I didnt have time to fix it when i noticed it so i made sure to write it down. I'll fix it tonight probably.