Skip to content

Commit 319de98

Browse files
committed
Update binding_generator.py
1 parent 5d8c20f commit 319de98

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

binding_generator.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,9 +1584,10 @@ def generate_compat_includes(godot_repo: Path, output_dir: Path, target_dir: Pat
15841584
result.append(f"#include <{Path(file_godot_name).as_posix()}>\n")
15851585
result.append("#else\n")
15861586

1587-
for line in after_marker:
1588-
if line.strip() not in {"namespace godot {", "} // namespace godot"}:
1589-
result.append(line)
1587+
#for line in after_marker:
1588+
# if line.strip() not in {"namespace godot {", "} // namespace godot"}:
1589+
# result.append(line)
1590+
result.extend(after_marker)
15901591

15911592
# Add the namespace and endif
15921593
result.append("#endif\n")

0 commit comments

Comments
 (0)