mt-historical / i3

Other
0 stars 1 forks source link

Incorrect location of the player's model in the first frame #19

Open rautyrauty opened 1 month ago

rautyrauty commented 1 month ago

Describe the bug When entering the inventory in the first frame, the player's model has the wrong Position. Apparently, the problem is precisely in the model function from the minetest lua API (see src/gui.lua, line 737):

model(0.2, 0.2, armor_skin and 4 or 3.4, ctn_hgt,
"player_model", props.mesh, textures, "0,-150", "false", "false",
true_table(anim) and fmt("%u,%u;30", anim.x, anim.y) or "")

Screenshots изображение Since the bug only appears for one frame, it was difficult to take this screenshot

Additional context Not regression.