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
This addon does not work in godot 4.2+.
To fix the code you need to check if the object received by the addon is a GDScript and if so instantiate it to be able to run it's code.
"@tool" is not required.
/addons/gd_noise/gd_noise_inspector.gd:37
# buttons defined in _get_tool_buttons show at the topfunc_parse_begin(object: Object) ->void:
varinstifobjectisGDScript:
inst=object.new()
else:
inst=objectifnotinst.has_method("_get_tool_buttons"):
returnformethodininst._get_tool_buttons():
add_custom_control(InspectorToolButton.new(inst, method, pluginref))
The text was updated successfully, but these errors were encountered:
This addon does not work in godot 4.2+.
To fix the code you need to check if the object received by the addon is a GDScript and if so instantiate it to be able to run it's code.
"@tool" is not required.
/addons/gd_noise/gd_noise_inspector.gd:37
The text was updated successfully, but these errors were encountered: