diff options
author | bubnikv <bubnikv@gmail.com> | 2018-11-06 17:31:26 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-11-06 17:31:26 +0300 |
commit | 3eea327ef0bb476adb1d43e4eca0135fef94eb8c (patch) | |
tree | 8523736aaba5a1ce57ef2c08be95bb1e85b8e423 /xs | |
parent | 7c934ef9516bad03111867405fb8ca5d542e0d6d (diff) |
WIP: When iterating over PrintObject's regions, use the region count
by PrintObject::region_volumes. This is due to the way Print::apply()
works, it does not invalidate an existing PrintObject if a new region
is added to the print.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Print.xsp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index b34444b23..cf3b67931 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -44,8 +44,6 @@ _constant() int region_count() %code%{ RETVAL = THIS->print()->regions().size(); %}; - int region_volumes_count() - %code%{ RETVAL = THIS->region_volumes.size(); %}; Ref<Print> print(); Ref<ModelObject> model_object(); Ref<StaticPrintConfig> config() |