Skip to content

fix 4.7 return type error in _get_rid()#171

Open
thebuddyadrian wants to merge 1 commit into
rsubtil:masterfrom
thebuddyadrian:4.7-get_rid-fix
Open

fix 4.7 return type error in _get_rid()#171
thebuddyadrian wants to merge 1 commit into
rsubtil:masterfrom
thebuddyadrian:4.7-get_rid-fix

Conversation

@thebuddyadrian

Copy link
Copy Markdown

After upgrading a project using the Controller Icons addon to 4.7, the get_rid() method of ControllerIconTexture gives the following error: Cannot return value of type "int" because the function return type is "RID". This has been fixed by returning RID() instead of 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant