From 6585e58e83bee97feeb57f13bfb7645b6c3dd6db Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 16 Oct 2019 11:34:45 +0200 Subject: [PATCH] Fix of perl bindings --- xs/xsp/Config.xsp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xs/xsp/Config.xsp b/xs/xsp/Config.xsp index 8d6a971bc..435dda5a2 100644 --- a/xs/xsp/Config.xsp +++ b/xs/xsp/Config.xsp @@ -8,8 +8,7 @@ %name{Slic3r::Config} class DynamicPrintConfig { DynamicPrintConfig(); ~DynamicPrintConfig(); - static DynamicPrintConfig* new_from_defaults(); - DynamicPrintConfig* DynamicPrintConfig::new_from_defaults() + static DynamicPrintConfig* new_from_defaults() %code{% RETVAL = DynamicPrintConfig::new_from_defaults_keys(FullPrintConfig::defaults().keys()); %}; static DynamicPrintConfig* new_from_defaults_keys(std::vector keys); DynamicPrintConfig* clone() %code{% RETVAL = new DynamicPrintConfig(*THIS); %};