Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_18
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
OP_18
Commits
e242d6fc
Commit
e242d6fc
authored
Nov 18, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
294b4553
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
OP_18.js
assets/OP_18/scene/OP_18.js
+4
-2
No files found.
assets/OP_18/scene/OP_18.js
View file @
e242d6fc
...
...
@@ -1985,6 +1985,7 @@ cc.Class({
console
.
log
(
'
this.photo end
'
,
data
);
this
.
pushNodePoolArr
();
if
(
this
.
debugLayer
.
parent
&&
this
.
debugLayer
.
active
)
{
...
...
@@ -1999,7 +2000,6 @@ cc.Class({
})
}
this
.
pushNodePoolArr
();
...
...
@@ -2077,6 +2077,8 @@ cc.Class({
const
node
=
arr
[
i
];
if
(
node
.
isPoolNode
)
{
this
.
nodePoolArr
.
push
(
node
);
node
.
active
=
false
;
}
else
{
node
.
removeFromParent
();
}
...
...
@@ -3792,7 +3794,7 @@ cc.Class({
node
.
rectColor
=
color
;
node
.
isPoolNode
=
true
;
node
.
active
=
true
;
return
node
;
},
...
...
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