mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Cleanup metadata usage
This commit is contained in:
parent
066692b6d0
commit
1dc7bcc83c
18 changed files with 58 additions and 144 deletions
|
|
@ -1950,11 +1950,11 @@ void ScriptEditor::_update_script_colors() {
|
|||
script_list->set_item_custom_bg_color(i, Color(0, 0, 0, 0));
|
||||
|
||||
if (script_temperature_enabled) {
|
||||
if (!n->has_meta("__editor_pass")) {
|
||||
int pass = n->get_meta("__editor_pass", -1);
|
||||
if (pass < 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
int pass = n->get_meta("__editor_pass");
|
||||
int h = edit_pass - pass;
|
||||
if (h > hist_size) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue