You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #93074 from bruvzg/bmp_imp_adv
[Image Font Importer] Fix reading advance after hex/dec range.
This commit is contained in:
@@ -229,6 +229,7 @@ Error ResourceImporterImageFont::import(const String &p_source_file, const Strin
|
||||
} else {
|
||||
end = token.hex_to_int();
|
||||
step = STEP_ADVANCE_BEGIN;
|
||||
c--;
|
||||
}
|
||||
}
|
||||
} break;
|
||||
@@ -244,6 +245,7 @@ Error ResourceImporterImageFont::import(const String &p_source_file, const Strin
|
||||
} else {
|
||||
end = token.to_int();
|
||||
step = STEP_ADVANCE_BEGIN;
|
||||
c--;
|
||||
}
|
||||
}
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user