fixed crash using animated images in plugins

This commit is contained in:
louis
2015-06-20 06:30:26 +02:00
parent a0a6e21d5a
commit bc07550708
6 changed files with 25 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ skindesignerapi::cViewGrid::cViewGrid(skindesignerapi::ISkinDisplayPlugin *view,
}
skindesignerapi::cViewGrid::~cViewGrid() {
if (!view)
return;
view->ClearGrids(viewGridID);
}
void skindesignerapi::cViewGrid::SetGrid(long gridID, double x, double y, double width, double height) {