mirror of https://github.com/node-red/node-red.git
Only apply z-recovery logic to flow nodes
parent
12d56b8b03
commit
e8e44f9a32
|
@ -1150,7 +1150,7 @@ RED.nodes = (function() {
|
|||
if (n.z) {
|
||||
nodeZmap[n.z] = nodeZmap[n.z] || [];
|
||||
nodeZmap[n.z].push(n);
|
||||
} else if (n.z === 0) {
|
||||
} else if (n.hasOwnProperty('x') && n.hasOwnProperty('y') && !n.z) {
|
||||
// Hit the rare issue where node z values get set to 0.
|
||||
// Repair the flow - but we really need to track that down.
|
||||
if (!recoveryWorkspace) {
|
||||
|
|
Loading…
Reference in New Issue