1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-13 22:20:19 +01:00
Commit Graph

356 Commits

Author SHA1 Message Date
sfan5
4d08a1cc55 Implement //cubeapply with three side lengths 2020-04-26 16:01:07 +02:00
sfan5
34844b2d38 Set static_save = false for marker entities 2020-04-16 23:50:15 +02:00
sfan5
0f5dcc790d Implement //clearcut to delete trees, plants from generated terrain
closes #165
2020-04-07 03:05:30 +02:00
sfan5
37de177f72 Fix off-by-one in //cubeapply 2020-04-07 00:46:13 +02:00
sfan5
f285a55dd5 Improve brush command error messages 2020-04-07 00:38:11 +02:00
sfan5
9b26034aea Move worldedit.marker_update
Markers are part of the UI (`worldedit_chatcommands`) and do not belong in `worldedit`.
2020-04-07 00:14:31 +02:00
sfan5
963a9f6b96 Implement //cubeapply 2020-04-06 23:32:11 +02:00
sfan5
5e8bfd5166 Improve node name normalization in case of multi-line descriptions 2020-03-29 21:55:47 +02:00
HybridDog
06a3b63578 GUI command execution: Do not ignore chatcommand return values
Additionally, this commit makes the command execution more modular,
so it is e.g. possible to implement something to disable the
many nodes confirmation after setting a checkbox in the formspec.
2020-03-09 15:33:19 +01:00
sfan5
5e47af8773 Make region marker entities withstand TNT explosions
Also fixes a crash when detonating TNT near them though this is
not our fault and the proper fix is pending in minetest_game.
2020-03-06 21:20:15 +01:00
sfan5
da51c688d2 Call minetest.deserialize with safe=true
wtf?
2020-02-06 11:53:14 +01:00
sfan5
ab93871877 Move some deserialization code around 2020-02-06 11:51:44 +01:00
sfan5
116ae25ebd Unbreak //move (closes #188) 2019-12-20 20:29:41 +01:00
sfan5
18444379a1 worldedit_gui: Improve behaviour of all input fields
continuation of 45acf09e4a
2019-12-19 18:20:24 +01:00
sfan5
974dcaa918 Improve nodename normalization in some cases 2019-12-19 16:58:33 +01:00
sfan5
abdecd4239 Fix some broken commands
This happens when you don't test.
2019-12-19 16:45:38 +01:00
sfan5
9c38b9f6ad Allow more commands for brush usage
In fact, allow all commands that are compatible by the brush:
the ones that expect exactly pos1 to be set
2019-12-19 16:44:15 +01:00
sfan5
7833b68c85 worldedit_brush: Remove "safe region" hack 2019-12-19 15:58:26 +01:00
sfan5
03bef18272 Update worldedit_shortcommands for new changes 2019-12-19 15:16:20 +01:00
sfan5
91d02f6f5b Rewrite command registration 2019-12-19 15:13:55 +01:00
sfan5
8feaf8a21d Fix area clearing step of negative //move's
fixes #187
2019-11-13 20:49:25 +01:00
sfan5
5bab991e0b Make object right-click work with wand 2019-11-10 00:40:31 +01:00
ANAND
9bb0ad0442 Fix double-definition of visual_size in entity def 2019-10-14 12:46:58 +02:00
sfan5
63a7069671 Allow easily setting pos1 + 2 to the same node using the wand
Though right-click currently doesn't work due to an engine bug.
2019-09-19 00:06:30 +02:00
sfan5
79097dc6c8 Reset region by double-punching air using the wand 2019-09-18 23:56:21 +02:00
sfan5
3bc7a0f97d worldedit_gui: Add tooltips to node search result 2019-09-18 18:55:55 +02:00
sfan5
45acf09e4a worldedit_gui: Improve behaviour of some input fields
Can't be bothered to do the rest. This stuff should be
rewritten in a modular fashion anyway.
2019-09-18 18:52:27 +02:00
sfan5
adab528f8a Fix nodename normalization with translated descriptions 2019-09-18 18:48:31 +02:00
sfan5
26b6682587 Update API docs 2019-09-17 18:44:13 +02:00
sfan5
b4826aa821 Use faster vmanip copying for //move too 2019-09-17 18:42:11 +02:00
sfan5
a0181ea897 Delete old metadata when moving regions
This matches the behaviour before introduction of the vmanip code.
2019-09-17 18:03:19 +02:00
sfan5
2a4aaae8a2 Always use faster vmanip copying code
Since the code has two arrays of the area before and after,
the copy order is totally irrelevant.
Of course, this doesn't apply to metadata and we still need
to do that backwards.
2019-09-17 01:28:53 +02:00
sfan5
f6298d7b87 Fix schematics with extra headers to parse properly
Currently no schematic format makes use of these, but that
may change so do some future proofing.
2019-09-09 20:52:15 +02:00
sfan5
68f7bcc728 Warn when "misaligned" schematics are created
The underlying issue is the size detection worldedit.allocate does
and can't be fixed or worked around in a simple way.
2019-09-09 01:07:17 +02:00
sfan5
0919f7cab3 Clean up command code for //stack, //stack2 2019-09-08 22:14:07 +02:00
sfan5
de566d2e3e Update API docs 2019-09-08 22:14:07 +02:00
sfan5
cc897150f2 Fix performance of //stack, //stack2 2019-09-08 22:14:07 +02:00
sfan5
f39a8e264d Faster moving using vmanips (in some cases) 2019-09-08 22:14:07 +02:00
sfan5
da5abec273 Faster copying using vmanips 2019-09-08 22:14:07 +02:00
sfan5
ff53a71d58 Remove outdated function check 2019-09-08 18:57:54 +02:00
sfan5
0edcd1a59d Fix crash on loading invalid schematic (fixes #160) 2019-09-06 17:56:11 +02:00
sfan5
a1b6a34e61 Use eye_height property for brush raytracing 2019-09-06 17:45:51 +02:00
sfan5
f589c988b1 Handle invalid //rotate usage gracefully, fixes #150 2019-07-17 02:35:57 +02:00
sfan5
f28d9b8d35 Update README 2019-07-17 02:23:39 +02:00
sfan5
b8453a0e0b Remove deprecated depends.txt, add descriptions to mod.conf 2019-07-17 02:15:04 +02:00
sfan5
0a16f11d93 Replace more deprecated functions 2019-07-17 02:06:29 +02:00
sfan5
b50294d10c Adjust GUI compatibility code 2019-07-17 01:44:15 +02:00
sfan5
324eb556f6 Make compatibility error in worldedit_brush fatal again
This reverts commit a97cccd2a1.
2019-07-17 01:42:28 +02:00
Panquesito7
3ffecdd9c4 Replace deprecated functions with newer ones
These commits create compatibility with MT/MTG 5.0.0+.
However, these commits may/will break with the 0.4-series.
2019-07-17 01:23:40 +02:00
Niwla23
40b49ee9bc Make placeholders not pointable 2019-07-17 01:22:12 +02:00