Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-12-07 21:39:49 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-12-07 21:39:49 +0300
commit3fac8cd77e76da982219049629f3d9190cfcfbbf (patch)
tree33193bda4fe10b4aac5706852f7d5ff575384fc5 /xs/xsp/Config.xsp
parent32a333f16abaa2bdc82a23c5c0965eb3ed4525d8 (diff)
Large refactoring of the Config classes
Diffstat (limited to 'xs/xsp/Config.xsp')
-rw-r--r--xs/xsp/Config.xsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/xs/xsp/Config.xsp b/xs/xsp/Config.xsp
index afdf4a684..bb8fa7b49 100644
--- a/xs/xsp/Config.xsp
+++ b/xs/xsp/Config.xsp
@@ -31,6 +31,7 @@
void erase(t_config_option_key opt_key);
void normalize();
%name{setenv} void setenv_();
+ double min_object_distance();
};
%name{Slic3r::Config::GCode} class GCodeConfig {
@@ -158,11 +159,11 @@ PROTOTYPES: DISABLE
SV*
print_config_def()
CODE:
+ t_optiondef_map &def = Slic3r::print_config_def.options;
FullPrintConfig config;
- t_optiondef_map* def = config.def;
HV* options_hv = newHV();
- for (t_optiondef_map::iterator oit = def->begin(); oit != def->end(); ++oit) {
+ for (t_optiondef_map::iterator oit = def.begin(); oit != def.end(); ++oit) {
HV* hv = newHV();
t_config_option_key opt_key = oit->first;