From 822891f53ed3f9798b6669e7829388b565f33dec Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 8 May 2022 10:25:43 +0800 Subject: [PATCH] fix name error --- src/turtle/_impl/_lsystem_comm.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/turtle/_impl/_lsystem_comm.scad b/src/turtle/_impl/_lsystem_comm.scad index c87b9352..02e83b4a 100644 --- a/src/turtle/_impl/_lsystem_comm.scad +++ b/src/turtle/_impl/_lsystem_comm.scad @@ -28,7 +28,7 @@ function _derive1(base, rules) = _join([ function _derive(base, rules, n, rule_prs) = let( - derive = is_undef(rule_prs) ? function(base) _derive1(base, rules) : function(base) _derive1_p(base, rules, rules_pr), + derive = is_undef(rule_prs) ? function(base) _derive1(base, rules) : function(base) _derive1_p(base, rules, rule_prs), bs = [ for(i = 0, b = derive(base); i < n; i = i + 1, b = i != n ? derive(b) : undef) b