chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f64a674
)
commitid.scad.pl: do skipping of skipped things in 2d demo by incrementing j, not...
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:25:37 +0000
(18:25 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 18:25:37 +0000
(18:25 +0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index ae1ebb42b531626ba76a8930dd0272312ac05f1e..5a61f415fdc353002336ed71a73645bf7bc8c88a 100755
(executable)
--- a/
commitid.scad.pl
+++ b/
commitid.scad.pl
@@
-275,6
+275,8
@@
sub gentextmodule_plusq ($$) {
gentextmodule($form, $s);
if (!($l & 1) && $l>=4) {
gentextmodule("${form}S", substr($s,0,$l/2), substr($s,$l/2));
gentextmodule($form, $s);
if (!($l & 1) && $l>=4) {
gentextmodule("${form}S", substr($s,0,$l/2), substr($s,$l/2));
+ } else {
+ $gtm_demo_j++;
}
}
}
}
@@
-332,18
+334,14
@@
sub do_git () {
}
foreach my $sz (3..10) {
}
foreach my $sz (3..10) {
- gentextmodule_demo_start_batch($sz-3
, 0
);
+ gentextmodule_demo_start_batch($sz-3);
gentextmodule_plusq("Small$sz", rjustt($sz, $git_count.$git_dirty))
if defined $git_count;
gentextmodule_plusq("Small$sz", rjustt($sz, $git_count.$git_dirty))
if defined $git_count;
- gentextmodule_demo_start_batch($sz-3, 2);
-
gentextmodule_plusq("Git$sz", ljustt($sz, $git_object, $git_dirty))
if defined $git_object;
gentextmodule_plusq("Git$sz", ljustt($sz, $git_object, $git_dirty))
if defined $git_object;
- gentextmodule_demo_start_batch($sz-3, 4);
-
gentextmodule("Full$sz",
rjustt($sz, $git_count.$git_dirty),
ljustt($sz, $git_object, ''))
gentextmodule("Full$sz",
rjustt($sz, $git_count.$git_dirty),
ljustt($sz, $git_object, ''))