Permalink
Browse files

Temporarily disable DCE in the physics demo.

  • Loading branch information...
1 parent c27da87 commit 304f8441b58b894e8a67803af19147b879656024 @aduros committed Oct 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 physics/wscript
View
@@ -22,4 +22,6 @@ def build(ctx):
libs="nape",
flags="-D NAPE_RELEASE_BUILD" if not ctx.env.debug else "",
flash_version="11", # Enable the Stage3D renderer on the browser flash target
+ dead_code_elimination=False, # Nape in JS doesn't work properly with dead code elimination,
+ # so temporarily disable it, see https://github.com/deltaluca/nape/issues/39
air_password="samplePassword")

0 comments on commit 304f844

Please sign in to comment.