From 91b9b8aebfa634ee7a6f26284a5b782c72de0fb6 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 23 May 2018 12:49:56 +0200 Subject: Fixed wrong layer height texture updates when using multiple objects --- xs/xsp/Print.xsp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xs/xsp/Print.xsp') diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index ef9c5345f..702919514 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -52,6 +52,9 @@ _constant() int region_count() %code%{ RETVAL = THIS->print()->regions.size(); %}; + int region_volumes_count() + %code%{ RETVAL = THIS->region_volumes.size(); %}; + Ref print(); Ref model_object(); Ref config() -- cgit v1.2.3