|
|
@ -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(); |
|
|
|