Uberi / Minetest-WorldEdit

The ultimate in-game world editing tool for Minetest! Tons of functionality to help with building, fixing, and more.
https://forum.minetest.net/viewtopic.php?f=11&t=572
GNU Affero General Public License v3.0
162 stars 81 forks source link

Middle click with the wand to reset selection #159

Closed sbrl closed 5 years ago

sbrl commented 6 years ago

Hello,

I've got a suggestion. Could a middle click when holding the wand tool reset the selection?

I've checked the modding API and it doesn't look like it's possible though. If it's not, what about resetting if you use it when pointing at nothing?

I'm willing to write some code & send a PR here, but wanted an opinion before I go ahead :smiley_cat:

sfan5 commented 6 years ago

what about resetting if you use it when pointing at nothing?

That sounds like you'd do it a lot accidentally during normal usage.

sbrl commented 6 years ago

Hrm, true. Not sure what other interaction could be bound to it, though. I'd love middle click, but I don't think that the minetest Lua API supports it AFAIKT (though I'm understandably very new to modding, even though I'm not new to programming).

sbrl commented 6 years ago

Come to think of it, I might write a separate mod that has a wand with multiple 'modes' to manipulate the selected region.

beyondlimits commented 6 years ago

Related Minetest issue: https://github.com/minetest/minetest/issues/4211

:rofl:

sfan5 commented 5 years ago

Consider reopening when engine adds support.

sbrl commented 5 years ago

Maybe an upstream tag would help identify such issues?