Integration: #7968 #7262 groupLayers From uses the optional layer ref

This commit is contained in:
aiongg committed 2026-10-22 15:38:40 +00:00
1 parent 42efb8d777
commit 95db2fe5eb
1 file changed
+1 -1
+1 -1
View File
@@ -1324,7 +1324,7 @@ fn make_to(id: &str, p: &Value) -> Option<Descriptor> {
"layer.groupLayers" => {
// An explicit source layer goes in by name like every other layer reference; a
// step without one keeps the target-layer form (#7236).
desc("null").with("null", class_ref("layerSection")).with("From", layer_ref(p)).with("Usng", D::Descriptor(with_name("layerSection")))
desc("null").with("null", class_ref("layerSection")).with("From", layer_ref(p)?).with("Usng", D::Descriptor(with_name("layerSection")))
}
"layer.new.layerViaCopy" | "layer.new.layerViaCut" => {
let mut d = desc("null").with("Nw ", D::Descriptor(desc("Lyr "))).with("Usng", enm("ArSl", "Slct"));