ncannasse 11 éve
szülő
commit
34da2edbb2
2 módosított fájl, 3 hozzáadás és 0 törlés
  1. 2 0
      h3d/parts/Emitter.hx
  2. 1 0
      tools/parts/parts.hxproj

+ 2 - 0
h3d/parts/Emitter.hx

@@ -87,6 +87,8 @@ class Emitter extends h3d.scene.Object {
 				count++;
 				count++;
 			}
 			}
 			emitCount -= 1;
 			emitCount -= 1;
+			if( state.emitTrail )
+				break;
 		}
 		}
 		var p = head;
 		var p = head;
 		while( p != null ) {
 		while( p != null ) {

+ 1 - 0
tools/parts/parts.hxproj

@@ -21,6 +21,7 @@
   <build>
   <build>
     <option directives="" />
     <option directives="" />
     <option flashStrict="True" />
     <option flashStrict="True" />
+    <option noInlineOnDebug="False" />
     <option mainClass="Main" />
     <option mainClass="Main" />
     <option enabledebug="False" />
     <option enabledebug="False" />
     <option additional="-lib hxsl&#xA;-D h3d&#xA;#-lib air3&#xA;-lib hscript&#xA;-dce full" />
     <option additional="-lib hxsl&#xA;-D h3d&#xA;#-lib air3&#xA;-lib hscript&#xA;-dce full" />