Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Deleting Automatic GrhDatas #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure how GrhDatas handle being deleted right now, but my guess is that when 
you delete a GrhData from the GrhTreeView, it will appear again when you update 
the GrhDatas.

When an automatically-added GrhData is deleted, it should delete the file, too 
(send file in DevContent to recycling bin and delete file in Content). When 
deleting a GrhData not automatically added, do not delete the file.

Original issue reported on code.google.com by Spodiii on 21 Nov 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Also, in the Editor, when there are remnants of grhs where the file has been 
removed from DevContent the editor crashes instead of showing the "missing grh 
window".

Original comment by devon.ke...@gmail.com on 22 Nov 2010 at 9:42

GoogleCodeExporter commented 9 years ago
That isn't really relevant to this issue, so please make a new issue for it. :)

Original comment by Spodiii on 22 Nov 2010 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by Spodiii on 26 Nov 2010 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by Spodiii on 27 Nov 2010 at 10:44

GoogleCodeExporter commented 9 years ago
Turns out C# doesn't have great support for deleting to recycling bin. Also, 
decided it might not wise since those who have the recycling bin disabled or 
are using an OS that doesn't implement it will end up losing the sprite 
completely without realizing it. So I will just have them get moved to a 
"Recycled" folder in the root content directory.

Original comment by Spodiii on 27 Nov 2010 at 11:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4335.

Original comment by Spodiii on 27 Nov 2010 at 11:42