-
Notifications
You must be signed in to change notification settings - Fork 28
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
CanvasItem drawPolygon NilAccess #26
Comments
endragor
added a commit
that referenced
this issue
Jun 4, 2018
Still not working for me. I have the same error despite the changes. I'm using version 0.7.13 |
You need to re-generate the Godot API wrappers. If your project is based on the stub, do |
Thanks, was that, I didn't make a proper cleaning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While trying to draw a polygon with the
drawPolygon
ordrawColoredPolygon
functions of a CanvasItem node, I get the following errorI'm using the function as follow:
I think the problem is I'm using the default value of the texture which is nil, and the code tries to pass this nil texture as a godot object:
Am I supposed to pass a not nil texture for this to work? I just want to draw a filled polygon with plain color.
The text was updated successfully, but these errors were encountered: