|
@@ -370,6 +370,7 @@ class Scene extends Layers implements h3d.IDrawable implements hxd.SceneEvents.I
|
|
ctx.pushTarget(t);
|
|
ctx.pushTarget(t);
|
|
s.drawRec(ctx);
|
|
s.drawRec(ctx);
|
|
ctx.popTarget();
|
|
ctx.popTarget();
|
|
|
|
+ ctx.engine.frameCount--;
|
|
}
|
|
}
|
|
|
|
|
|
public function render( engine : h3d.Engine ) {
|
|
public function render( engine : h3d.Engine ) {
|
|
@@ -417,6 +418,7 @@ class Scene extends Layers implements h3d.IDrawable implements hxd.SceneEvents.I
|
|
posChanged = true;
|
|
posChanged = true;
|
|
engine.setRenderZone();
|
|
engine.setRenderZone();
|
|
engine.end();
|
|
engine.end();
|
|
|
|
+ engine.frameCount--;
|
|
return new Bitmap(target);
|
|
return new Bitmap(target);
|
|
}
|
|
}
|
|
|
|
|