uncook method

Future<void> uncook(
  1. String path
)

Deletes the cooked copy of the model at path: the game loads the file itself again. Its settings stay.

Implementation

Future<void> uncook(String path) async {
  final cooked = _file(ModelImportSettings.cookedOf(path));
  if (await cooked.exists()) await cooked.delete();
}