render hidden layers when not inside an object

This commit is contained in:
Skyler Lehmkuhl 2024-12-11 16:07:54 -05:00
parent 131f81474b
commit d3cd21cfbb
1 changed files with 1 additions and 1 deletions

View File

@ -1825,7 +1825,7 @@ class GraphicsObject {
// this.currentFrameNum = 0;
// }
for (let layer of this.layers) {
if (!layer.visible) continue;
if (context.activeObject==this && !layer.visible) continue;
let frame = layer.getFrame(this.currentFrameNum)
for (let shape of frame.shapes) {
if (context.shapeselection.indexOf(shape) >= 0) {