Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
DMDesign
Commits
7421db02
Commit
7421db02
authored
Aug 18, 2015
by
Amanda Ghassaei
Browse files
cell parsing bug
parent
19d14a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/lattice/Lattice.js
View file @
7421db02
...
...
@@ -114,6 +114,8 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
_parseSparseCell
:
function
(){
this
.
cells
=
[[[
null
]]];
console
.
log
(
"
parse cells
"
);
if
(
this
.
get
(
"
numCells
"
)
==
0
)
{
...
...
@@ -141,6 +143,7 @@ define(['underscore', 'backbone', 'appState', 'globals', 'plist', 'three', 'thre
var
min
=
this
.
get
(
"
cellsMin
"
).
sub
(
bounds
.
min
);
var
overlap
=
false
;
var
forCAM
=
appState
.
get
(
"
currentNav
"
)
==
"
navAssemble
"
;
console
.
log
(
forCAM
);
this
.
_loopCells
(
this
.
sparseCells
,
function
(
cell
){
if
(
!
cell
)
return
;
overlap
|=
cell
.
addToDenseArray
(
cells
,
min
,
forCAM
);
...
...
Write
Preview
Supports
Markdown
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