From 709446da94a6e120ba60da39b3d58686c48f624d Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Tue, 8 May 2018 21:47:34 -0300 Subject: [PATCH] Fix bindings for PoolIntArray and PoolRealArray --- binding_generator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/binding_generator.py b/binding_generator.py index 0a1d2ff..38cbbbb 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -180,7 +180,7 @@ def generate_class_header(used_classes, c): return default_value.lower() if _type == "Array": return "Array()" - if _type in ["PoolVector2Array", "PoolStringArray", "PoolVector3Array", "PoolColorArray"]: + if _type in ["PoolVector2Array", "PoolStringArray", "PoolVector3Array", "PoolColorArray", "PoolIntArray", "PoolRealArray"]: return _type + "()" if _type == "Vector2": return "Vector2" + default_value @@ -697,6 +697,8 @@ def is_core_type(name): "PoolVector2Array", "PoolVector3Array", "PoolColorArray", + "PoolIntArray", + "PoolRealArray", "Quat", "Rect2", "AABB",