virtual sample : rotation x y working
This commit is contained in:
parent
50e152fc00
commit
2f7a3796d2
430 changed files with 500 additions and 93 deletions
|
|
@ -66,8 +66,21 @@ class ProjectPage extends Page {
|
|||
|
||||
private function handleVirtualSampleStep($child, &$files, &$uri) {
|
||||
$uri = $child->parent()->uri() . '?dialog=' . $child->slug();
|
||||
foreach ($child->views()->toFiles() as $file) {
|
||||
$files[] = getFileData($file);
|
||||
|
||||
foreach ($child->children() as $key => $track) {
|
||||
|
||||
$trackData = [
|
||||
'title' => (string) $track->title(),
|
||||
'slug' => (string) $track->slug(),
|
||||
'files' => [],
|
||||
];
|
||||
|
||||
foreach ($track->views()->toFiles() as $view) {
|
||||
$trackData['files'][] = getFileData($view);
|
||||
}
|
||||
|
||||
$files[] = $trackData;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue