From e47635f02b9c2908ffbf62ec0907cc45af1f9fa4 Mon Sep 17 00:00:00 2001 From: yuanjiajia <1139393632@qq.com> Date: Tue, 6 Jun 2023 15:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B2=E6=9F=93=E6=B5=8B=E5=BC=8F=20?= =?UTF-8?q?=E6=A1=88=E4=BE=8B=20=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/renderTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/renderTest.php b/examples/renderTest.php index f8d5f11..9213106 100644 --- a/examples/renderTest.php +++ b/examples/renderTest.php @@ -205,7 +205,7 @@ foreach($taskModel->childsParams as $childParams){ })($childParams); $textureScaleU = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->width); $textureScaleV = $taskModel->uvScale*(MAT_STANDARD_SIZE/$matOriginal->height); - if(false){ + if(is_object($matOriginal)){ $material = createLuxcoreMat($matOriginal, $textureScaleU, $textureScaleV, $downloadDir, $scene); }else{ $material = new Disney();