1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-25 10:10:41 +01:00
Commit Graph

348 Commits

Author SHA1 Message Date
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
sfan5
4f2c7b18cc Fix //allocate with 0 nodes 2019-07-17 01:20:40 +02:00
TalkLounge
b2e086f9ec Fix //load with 0 nodes (#177) 2019-06-15 16:46:12 +02:00
HybridDog
d1cbd420bb serialize: Fix detecting empty metadata (#176) 2019-04-24 22:51:18 +02:00
Pedro Gimeno
0aeee79af6 Implement full facedir and color* in //orient
Thanks to entuland for the Rhotator facedir to matrix and matrix to facedir code, which helped creating the tables.
2019-04-05 00:12:02 +02:00
sfan5
f242f2f722
Change description for //about, fix #170 2018-12-08 21:52:36 +01:00
Isidor Zeuner
f8e57559ec replace deprecated function call 2018-11-25 13:46:27 +01:00
sfan5
b2b2b9364d Warn about invalid //stretch usage 2018-11-15 20:49:19 +01:00
Starbeamrainbowlabs
b37605943b //mix: Add node weighting support 2018-10-29 00:36:33 +01:00