mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
[Tunnel] Fix connection lines still appear on a deleted node.
This commit is contained in:
parent
3d892249d9
commit
7ba50ad0fc
1 changed files with 2 additions and 2 deletions
|
@ -185,11 +185,11 @@ function Node_Tunnel_In(_x, _y, _group = noone) : Node(_x, _y, _group) construct
|
|||
for (var i = 0, n = array_length(_keys); i < n; i++) {
|
||||
var _k = _keys[i];
|
||||
|
||||
if(project.tunnels_out[? _k] != _key) continue;
|
||||
if(project.tunnels_out[? _k] != _key) continue;
|
||||
if(!ds_map_exists(PROJECT.nodeMap, _k)) continue;
|
||||
|
||||
var node = PROJECT.nodeMap[? _k];
|
||||
if(node.group != group) continue;
|
||||
if(!node.active || node.group != group) continue;
|
||||
|
||||
preview_connecting = true;
|
||||
node.preview_connecting = true;
|
||||
|
|
Loading…
Reference in a new issue