Use a list attribute name as model category

This commit is contained in:
Raphael Coeffic
2021-11-10 11:06:59 +01:00
parent 9436e171a7
commit e1736294c8
2 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -262,9 +262,10 @@ void ModelsCategory::save(FIL * file)
f_puts("]", file);
f_putc('\n', file);
#else
f_puts("- name: ", file);
f_puts("- ", file);
f_puts(name, file);
f_putc('\n', file);
//f_puts(" models:\n", file);
#endif
for (list<ModelCell *>::iterator it = begin(); it != end(); ++it) {
(*it)->save(file);