From 7fc6a8b98d67561e894dc9bdb3a814cfb799aea3 Mon Sep 17 00:00:00 2001 From: karroffel Date: Wed, 25 Jul 2018 14:29:17 +0200 Subject: [PATCH] fix indentation in bindings generator --- binding_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding_generator.py b/binding_generator.py index 5b9f7b8b..1e0c5073 100644 --- a/binding_generator.py +++ b/binding_generator.py @@ -376,7 +376,7 @@ def generate_class_implementation(icalls, used_classes, c): else: source.append("\tstatic godot_method_bind *mb = nullptr;") - source.append("\tif (mb == nullptr) {") + source.append("\tif (mb == nullptr) {") source.append("\t\tmb = godot::api->godot_method_bind_get_method(\"" + c["name"] +"\", \"" + method["name"] + "\");") source.append("\t}") @@ -667,7 +667,7 @@ def generate_type_registry(classes): for c in classes: class_name = strip_name(c["name"]) - base_class_name = strip_name(c["base_class"]) + base_class_name = strip_name(c["base_class"]) class_type_hash = "typeid(" + class_name + ").hash_code()"