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
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-06-20 17:28:37 +0300
committerbubnikv <bubnikv@gmail.com>2019-06-20 17:28:37 +0300
commit8bf6e69851657bbd9242d54d8e08f706fcdb1874 (patch)
tree2e0fc443b8ee6e89246bc6049df0a5e3cfa347ad /xs
parent27459a9072ae2f7e689e4a17d87baafbed924794 (diff)
Removed the layer_height_ranges from the Perl bindings and unit tests.
Diffstat (limited to 'xs')
-rw-r--r--xs/t/19_model.t8
-rw-r--r--xs/xsp/Model.xsp5
2 files changed, 4 insertions, 9 deletions
diff --git a/xs/t/19_model.t b/xs/t/19_model.t
index d6f6d97a1..48a000e46 100644
--- a/xs/t/19_model.t
+++ b/xs/t/19_model.t
@@ -4,7 +4,7 @@ use strict;
use warnings;
use Slic3r::XS;
-use Test::More tests => 4;
+use Test::More tests => 3;
{
my $model = Slic3r::Model->new;
@@ -14,9 +14,9 @@ use Test::More tests => 4;
$object->origin_translation->translate(10,0,0);
is_deeply \@{$object->origin_translation}, [10,0,0], 'origin_translation is modified by ref';
- my $lhr = [ [ 5, 10, 0.1 ] ];
- $object->set_layer_height_ranges($lhr);
- is_deeply $object->layer_height_ranges, $lhr, 'layer_height_ranges roundtrip';
+# my $lhr = [ [ 5, 10, 0.1 ] ];
+# $object->set_layer_height_ranges($lhr);
+# is_deeply $object->layer_height_ranges, $lhr, 'layer_height_ranges roundtrip';
}
__END__
diff --git a/xs/xsp/Model.xsp b/xs/xsp/Model.xsp
index 6a2cc6080..af4cdce06 100644
--- a/xs/xsp/Model.xsp
+++ b/xs/xsp/Model.xsp
@@ -206,11 +206,6 @@ ModelMaterial::attributes()
Ref<Model> model()
%code%{ RETVAL = THIS->get_model(); %};
- t_layer_height_ranges layer_height_ranges()
- %code%{ RETVAL = THIS->layer_height_ranges; %};
- void set_layer_height_ranges(t_layer_height_ranges ranges)
- %code%{ THIS->layer_height_ranges = ranges; %};
-
Ref<Vec3d> origin_translation()
%code%{ RETVAL = &THIS->origin_translation; %};
void set_origin_translation(Vec3d* point)