Godot Version
4.3
Question
I’m using the CanvasItem function draw_circle() with the ‘filled’ and ‘width’ arguments set to variables. When ‘filled’ = true and ‘width’ is given a value, I get a warning saying:
The draw_circle() “width” argument has no effect when “filled” is “true”
I can’t figure out how to suppress this warning.
I tried using the @warning_ignore tag but I’m unable to figure out the warning type. In addition, when looking at the source code, I see the use of WARN_PRINT which doesn’t imply a specific type.
How I can suppress this warning without suppressing all warnings?
I’m using this function as well as other draw functions in a plugin and would prefer people using the plugin not have to see this warning. I would also prefer to use the function as it is rather than setting up a conditional statement to call the same function two different ways depending on the variables’ values.