Explorar o código

Merge pull request #108714 from adamscott/fix-gdscript-language-server-web

[Web] Disable GDScript LSP
Thaddeus Crews hai 2 semanas
pai
achega
0b4e26179d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      platform/web/detect.py

+ 3 - 0
platform/web/detect.py

@@ -330,3 +330,6 @@ def configure(env: "SConsEnvironment"):
     # This workaround creates a closure that prevents the garbage collector from freeing the WebGL context.
     # We also only use WebGL2, and changing context version is not widely supported anyway.
     env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"])
+
+    # Disable GDScript LSP (as the Web platform is not compatible with TCP).
+    env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])