add selectall command

selectall

  selects the whole map (minus the two cubes wide border)

DOCREF selectall
This commit is contained in:
ac-stef
2016-09-16 14:06:26 +02:00
parent c5904dc065
commit 815f4aa764
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -344,6 +344,11 @@ const gencl [
] [ echo (red)Error: (white)You must be in edit mode for (blue)gencl (white)to function. ]
]
// select whole map
const selectall [
select 2 2 (- (powf 2 (mapsize)) 4) (- (powf 2 (mapsize)) 4)
]
// /expandselection 1 // makes the current selection bigger by 1 cube on all sides
const expandselection [
if $numargs [
Binary file not shown.