forked from 1b-agent/opencadstudio-upstream
Cross-drawing paste recreated layers/linetypes/styles only for the top-level selection, so objects inside a pasted block landed on layers the target drawing didn't have. Scan the entities inside captured block definitions for their dependencies too. Also refresh the layer panel after a paste so the brought-in layers show in the manager and the dropdown. Co-Authored-By: Claude Opus 4.8 <[email protected]>