fix nested trace elements when clearing (poly area bug), fix shadowZ poly union, fix hidden cam animate
This commit is contained in:
parent
e967fd3b2f
commit
7d3b210ed9
8 changed files with 35 additions and 12 deletions
|
|
@ -421,8 +421,13 @@ function newDiv(opt = {}) {
|
|||
(opt.addto || addTo).appendChild(div);
|
||||
if (opt.addto) lastDiv = addTo = div;
|
||||
if (opt.class) div.setAttribute('class', opt.class);
|
||||
lastGroup?.push(div);
|
||||
div._group = groupName;
|
||||
if (opt.group !== false) {
|
||||
lastGroup?.push(div);
|
||||
div._group = groupName;
|
||||
} else {
|
||||
lastGroup = undefined;
|
||||
groupName = undefined;
|
||||
}
|
||||
return div;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue