Godot.Community.ControlBinding icon indicating copy to clipboard operation
Godot.Community.ControlBinding copied to clipboard

Ability to suppress messages

Open gallsy opened this issue 2 years ago • 1 comments

It would be handy to be able to suppress errors output by the library to the console. An easy way to do it might be by using Project Settings (https://docs.godotengine.org/en/stable/classes/class_projectsettings.html#class-projectsettings)

Errors like the one below might be better off as warnings too because they are more informational than something going irreversibly wrong.

ControlBinding: Binding from node blah on path blah will not update with changes. Node is not of type ObservableObject

gallsy avatar May 20 '23 12:05 gallsy

@gallsy , I've created a PR that should hopefully address this feature request. Do you want to take a look and see if it provides what you're looking for?

The configuration items will be available in the Project Settings menu once your project has been run at least once with bindings in use. You can check using the included example project in this PR - it has an intentional error that you can suppress using the configuration options.

Dangles91 avatar May 21 '23 08:05 Dangles91