mirror of
https://github.com/godotengine/godot-cpp.git
synced 2025-12-31 01:48:45 +03:00
Merge pull request #1555 from raulsntos/fix-r1722784216
Avoid hardcoded type conversion for metadata
This commit is contained in:
@@ -2770,8 +2770,6 @@ def correct_type(type_name, meta=None, use_alias=True):
|
||||
if meta is not None:
|
||||
if "int" in meta:
|
||||
return f"{meta}_t"
|
||||
elif meta in type_conversion:
|
||||
return type_conversion[type_name]
|
||||
else:
|
||||
return meta
|
||||
if type_name in type_conversion:
|
||||
|
||||
Reference in New Issue
Block a user