Page 1 of 1
Half trees

Posted:
Wed Mar 21, 2012 17:23
by cosarara97
Today I generated a new world with 0.4dev-20120320, and found a lot of half-generated trees (they have no leaves).
A screenshot I made (I didn't remove the leaves, they weren't there in the first place):


Posted:
Wed Mar 21, 2012 17:23
by sfan5
Thats a bug since 0.3.1

Posted:
Wed Mar 21, 2012 17:29
by cosarara97
Well, It had never happened to me : /

Posted:
Wed Mar 21, 2012 17:30
by Jordach
I've seen this bug too. It seems like Herobrine plays Minetest too. D:

Posted:
Wed Mar 21, 2012 17:50
by Death Dealer
sfan5 wrote:i'm working on an Singleplayer Sound Mod.
this will be a built in feature soon.

Posted:
Wed Mar 21, 2012 17:51
by Jordach
Death Dealer wrote:sfan5 wrote:i'm working on an Singleplayer Sound Mod.
this will be a built in feature soon.
How do you know?!

Posted:
Wed Mar 21, 2012 17:53
by sfan5
Jordach wrote:Death Dealer wrote:sfan5 wrote:i'm working on an Singleplayer Sound Mod.
this will be a built in feature soon.
How do you know?!
He looked at github

Posted:
Wed Mar 21, 2012 22:23
by randomproof
I think the problem is that the block with the ground is generated before the block of air above is generated. Therefore when the tree is added to the ground there is no memory allocated to put the top of the tree. So to prevent this from happening you would need to make sure that the block above is generated first, before adding trees. Or maybe you could save information about the tree-related nodes to be added to the above node when it is finally generated. Or give blocks with a higher y-coord are given a higher priority in the generation queue.

Posted:
Thu Mar 22, 2012 19:50
by Calinou
Never happened to me, sorry. :/
Tested locally + multiplayer.

Posted:
Thu Mar 22, 2012 19:58
by Jordach
I've seen the old bugger before, it juust happens though.

Posted:
Thu Mar 22, 2012 19:59
by sdzen
lucky lucky calinou :)

Posted:
Thu Mar 22, 2012 22:12
by Calinou
Last time I've seen this bug was when I joined Minetest (July 6th 2011, so it's pretty old = 0.2_20110704). 0.2_20110731 fixed it, apparently.

Posted:
Fri Mar 23, 2012 00:42
by kahrl
No, it exists in all versions between then and now, and probably even all the way back to when trees were first added.
randomproof's answer about why it happens is pretty accurate.

Posted:
Fri Mar 23, 2012 04:10
by bgsmithjr
I have one of those, I just thought I didn't finish chopping it down.

Posted:
Fri Mar 23, 2012 14:56
by Calinou
randomproof wrote:I think the problem is that the block with the ground is generated before the block of air above is generated. Therefore when the tree is added to the ground there is no memory allocated to put the top of the tree. So to prevent this from happening you would need to make sure that the block above is generated first, before adding trees. Or maybe you could save information about the tree-related nodes to be added to the above node when it is finally generated. Or give blocks with a higher y-coord are given a higher priority in the generation queue.
Okay, now go tell celeron55/make a patch. 8)