Explorar o código

fixed bug with interactive propagate+cancel

ncannasse %!s(int64=9) %!d(string=hai) anos
pai
achega
33004900d3
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      h2d/Scene.hx
  2. 1 1
      h3d/scene/Scene.hx

+ 1 - 1
h2d/Scene.hx

@@ -229,7 +229,7 @@ class Scene extends Layers implements h3d.IDrawable implements hxd.SceneEvents.I
 
 			if( event.cancel ) {
 				event.cancel = false;
-				event.propagate = true;
+				event.propagate = false;
 				continue;
 			}
 

+ 1 - 1
h3d/scene/Scene.hx

@@ -125,7 +125,7 @@ class Scene extends Object implements h3d.IDrawable implements hxd.SceneEvents.I
 
 			if( event.cancel ) {
 				event.cancel = false;
-				event.propagate = true;
+				event.propagate = false;
 				continue;
 			}