|
@ -148,6 +148,7 @@ foreach($taskModel->childsParams as $childParams){ |
|
|
(new Client())->get($childParams->childPlyFile, [RequestOptions::SINK => $plyFileHandle]); |
|
|
(new Client())->get($childParams->childPlyFile, [RequestOptions::SINK => $plyFileHandle]); |
|
|
$obj = new Objects(); |
|
|
$obj = new Objects(); |
|
|
$obj->ply = $plyFileSavaPath; |
|
|
$obj->ply = $plyFileSavaPath; |
|
|
|
|
|
$obj->camerainvisible = $childParams->isVisible === 1 ? Objects::CLOSE : Objects::OPEN; |
|
|
$obj->setMaterial($material); |
|
|
$obj->setMaterial($material); |
|
|
$scene->registerObjects($obj); |
|
|
$scene->registerObjects($obj); |
|
|
} |
|
|
} |
|
|