From b7645edd9669bcaa754956517bec4b41d1e2f552 Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Wed, 14 Jun 2023 14:31:58 +0800 Subject: [PATCH] =?UTF-8?q?Film.php=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scene/render/Film.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scene/render/Film.php b/src/scene/render/Film.php index e28d50e..ad8f5f9 100644 --- a/src/scene/render/Film.php +++ b/src/scene/render/Film.php @@ -93,7 +93,8 @@ class Film extends BaseCfg } } } - $object->filename = "{$outDir}/{$object->filename}"; + $nowTime = date("Y-m-d_H:i:s"); + $object->filename = "{$outDir}/{$nowTime}_{$object->filename}"; $this->outputs[] = $object; }