godot icon indicating copy to clipboard operation
godot copied to clipboard

Improve `load_source_code`/`load_text` for `Script`/`TextFile`

Open Rindbee opened this issue 3 years ago • 1 comments

Set modification time when successfully loaded.

load_source_code has been implemented in GDScript/CSharpScript. It is important for the reload of tool scripts. Now abstracted in Script.

Split from #66658.

Rindbee avatar Oct 05 '22 06:10 Rindbee

As the we're in the feature freeze part of the 4.1 release, I'll push the milestone to 4.2 as this PR is an enhancement PR. But I'll add the issue to the list of issues to team review after the release.

adamscott avatar Jun 17 '23 14:06 adamscott

Different types of files have different update mechanisms, this PR is a bit ill-considered.

Rindbee avatar Jul 12 '23 01:07 Rindbee