You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (('func @'intype_with_text) and ('_setter('intype_with_text)):
# This is a setter of a variable. Trim!type_with_text="var "+type_with_text.trim_prefix('func @').trim_suffix('_setter(')
[...]
vartype_with_text: String=type+" "+textif (type=="func"):
type_with_text=type_with_text+"("if (('func @'intype_with_text) and ('_setter('intype_with_text)):
# This is a setter of a variable. Trim!type_with_text="var "+type_with_text.trim_prefix('func @').trim_suffix('_setter(')
varsource_code: String=script.get_source_code()
[...]
Hi, thank you for your work!
The issue happens with all setters associated with exported properties. I will give an easy to replicate example.
The code:
The setter is shown as
@max_height_setter
with a green tag in the lateral panel.The error, when clicking on
@max_height_setter
:My system: Windows 10 latest update, Godot 4.2.1 stable
The text was updated successfully, but these errors were encountered: