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
bad polygon! error when changing TextureProgress value from 0 to 1 #21923
Comments
this could also be related to why the tween does not TWEEN in a linear fashion, which is related to my other issue #21818 |
I'm not getting the bad polygon error. Do you have a reproduction project? |
@dualmatrix going to make one right now. sorry just saw this |
@dualmatrix badpolygonerror.zip
|
Ah this seems to be a problem with TextureProgress breaking with values between 0 and 1 |
@dualmatrix ha, nice catch. yep. sorry i just kept thinking it was related to tweening lol (cause was using that as my hotkey bar spinner in game) e: changed the title, thanks! |
This seems to happen because you had exp_edit enabled in the TextureProgress |
Apparently when exp_edit is true then min_value must be > 0 |
Testing MRP: There remains the configuration warning in the scene tree about how min_value must be greater than zero when exp_edit is enabled, but there's no longer any apparent consequence for doing so (you can also go negative). Is it obsoleted? edit: I notice it does make a difference for other controls, eg. hslider. So the warning is still relevant. |
latest master. compiled last night.
in any event. this bug is pretty weird. took me a while to track it down
steps:
put in gdscript:
and look at the error:
full error:
godot/servers/visual/visual_server_canvas.cpp
Line 692 in cf834a2
The text was updated successfully, but these errors were encountered: