Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rautyrauty opened this issue Sep 1, 2024 · 0 comments
Open

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

rautyrauty opened this issue Sep 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rautyrauty
Copy link

rautyrauty commented Sep 1, 2024

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.

  • Mod version? Release or git?
    main 973ee2c
  • Engine version?
    5.8.0
  • LuaJIT enabled?
    I have no idea how to check it
  • Operating system?
    Linux
  • Did you try to disable other mods except i3?
    Yes
@BuckarooBanzay BuckarooBanzay added the bug Something isn't working label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants