From 19421daa3186b6f1232706e6399f2a42e815b69a Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Thu, 10 Apr 2025 23:38:17 -0400 Subject: [PATCH] bugfix --- skin.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin.scad b/skin.scad index 5cbbde44..fae5a53d 100644 --- a/skin.scad +++ b/skin.scad @@ -4369,7 +4369,7 @@ function _textured_revolution( assert(closed || is_path(shape,2)) let( texture = _get_texture(texture, rot), - dummy = assert(is_undef(samples) || is_vnf(tex), "You gave the tex_samples argument with a heightfield texture, which is not permitted. Use the n= argument to texture() instead"), + dummy = assert(is_undef(samples) || is_vnf(texture), "You gave the tex_samples argument with a heightfield texture, which is not permitted. Use the n= argument to texture() instead"), inset = is_num(inset)? inset : inset? 1 : 0, samples = !is_vnf(texture)? len(texture) : is_num(samples)? samples : 8,