mirror of https://github.com/vitalif/openscad
Version splitting used wrong variable, causing version() to return [0,0,0]. Fixes #1329
parent
0e1b0daf36
commit
2dbf9755c3
|
@ -58,7 +58,7 @@ isEmpty(VERSION) {
|
||||||
SHORTVERSION = $$section(VERSION, "-", 0, 0)
|
SHORTVERSION = $$section(VERSION, "-", 0, 0)
|
||||||
|
|
||||||
# Split version into Year Month [Day]
|
# Split version into Year Month [Day]
|
||||||
VERSION_SPLIT=$$split(DISPLAYVERSION, ".")
|
VERSION_SPLIT=$$split(SHORTVERSION, ".")
|
||||||
VERSION_YEAR=$$member(VERSION_SPLIT, 0)
|
VERSION_YEAR=$$member(VERSION_SPLIT, 0)
|
||||||
VERSION_MONTH=$$member(VERSION_SPLIT, 1)
|
VERSION_MONTH=$$member(VERSION_SPLIT, 1)
|
||||||
VERSION_DAY=$$member(VERSION_SPLIT, 2)
|
VERSION_DAY=$$member(VERSION_SPLIT, 2)
|
||||||
|
|
Loading…
Reference in New Issue