|
@ -241,6 +241,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->appliedtransformation = $childParams->worldMatrix; |
|
|
$obj->setMaterial($material); |
|
|
$obj->setMaterial($material); |
|
|
$scene->registerObjects($obj); |
|
|
$scene->registerObjects($obj); |
|
|
} |
|
|
} |
|
|