Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
avvy
Blocks admin
Commits
7c8e8a18
Commit
7c8e8a18
authored
3 years ago
by
Vlad Gaydukov
Browse files
Options
Download
Email Patches
Plain Diff
fix find mesh
parent
1149adda
vyakhorev_test_deploy
AL-6504-users
compute-cells-button
dev
ethers-contract-comm
logging
metadata_no_cells
sequence-hash
ucs
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/block.html
+6
-2
templates/block.html
with
6 additions
and
2 deletions
+6
-2
templates/block.html
View file @
7c8e8a18
...
...
@@ -77,7 +77,7 @@
var
cellGeometry
=
new
THREE
.
BoxGeometry
(
0.95
,
0.95
,
0.95
);
var
cellMaterial
=
new
THREE
.
MeshLambertMaterial
({
color
:
"
green
"
,
transparent
:
true
,
opacity
:
0.
3
})
var
cellMaterial
=
new
THREE
.
MeshLambertMaterial
({
color
:
"
green
"
,
transparent
:
true
,
opacity
:
0.
2
})
var
matrix
=
new
THREE
.
Matrix4
();
for
(
var
ch
in
AvvY
.
blockProps
.
properties
.
children
)
{
...
...
@@ -100,7 +100,11 @@
if
(
child
instanceof
THREE
.
Mesh
)
{
return
child
}
else
{
return
findMesh
(
child
.
children
)
child
=
findMesh
(
child
.
children
)
if
(
child
)
return
child
else
continue
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help