diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-19 18:04:57 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-19 18:04:57 +0300 |
commit | 70229be9bc2de7c393044256842e94b9beea34bf (patch) | |
tree | 53d5086e71c676cfdf167035b0d4be08720f664b /xs | |
parent | 89702a5b4e63b783193bfbfcf1bddeeaf404a7c4 (diff) |
Added SystemInfo dialog,
a new SLIC3R_BUILD define to be replaced by the build script,
a menu item to open the "New Issue" github page.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/libslic3r/libslic3r.h | 1 | ||||
-rw-r--r-- | xs/xsp/XS.xsp | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/xs/src/libslic3r/libslic3r.h b/xs/src/libslic3r/libslic3r.h index 82d20a854..c1223f5c2 100644 --- a/xs/src/libslic3r/libslic3r.h +++ b/xs/src/libslic3r/libslic3r.h @@ -15,6 +15,7 @@ #define SLIC3R_FORK_NAME "Slic3r Prusa Edition" #define SLIC3R_VERSION "1.31.6" +#define SLIC3R_BUILD "UNKNOWN" //FIXME This epsilon value is used for many non-related purposes: // For a threshold of a squared Euclidean distance, diff --git a/xs/xsp/XS.xsp b/xs/xsp/XS.xsp index 20c9d4154..bf4a3733e 100644 --- a/xs/xsp/XS.xsp +++ b/xs/xsp/XS.xsp @@ -18,6 +18,12 @@ VERSION() OUTPUT: RETVAL SV* +BUILD() + CODE: + RETVAL = newSVpv(SLIC3R_BUILD, 0); + OUTPUT: RETVAL + +SV* DEBUG_OUT_PATH_PREFIX() CODE: RETVAL = newSVpv(SLIC3R_DEBUG_OUT_PATH_PREFIX, 0); |