mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-04-21 12:27:27 +03:00
Project description files can now begin with comment lines.
- solidify/project.h (struct project), solidify/project.c (make_project, load_project, save_project): allow project descriptions to begin with any numer of comment lines and preserve them across sessions
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
/*
|
||||
* Project file structure:
|
||||
*
|
||||
* Zero or more comment lines beginning with a hash sign (#)
|
||||
* line 1: file name of top face (required)
|
||||
* line 2: file name of bottom face (required)
|
||||
* line 3 and beyond, separated by whitespace:
|
||||
@@ -34,6 +35,7 @@
|
||||
|
||||
struct project {
|
||||
const char *name;
|
||||
const char *comment;
|
||||
const char *top;
|
||||
const char *bottom;
|
||||
struct solid s;
|
||||
|
||||
Reference in New Issue
Block a user