summaryrefslogtreecommitdiff
path: root/src/pathfinder/yapf/yapf_rail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/yapf/yapf_rail.cpp')
-rw-r--r--src/pathfinder/yapf/yapf_rail.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pathfinder/yapf/yapf_rail.cpp b/src/pathfinder/yapf/yapf_rail.cpp
index 4365ac50f..1fd6cfa0c 100644
--- a/src/pathfinder/yapf/yapf_rail.cpp
+++ b/src/pathfinder/yapf/yapf_rail.cpp
@@ -176,8 +176,9 @@ public:
if (target != NULL) target->okay = true;
- if (Yapf().CanUseGlobalCache(*m_res_node))
+ if (Yapf().CanUseGlobalCache(*m_res_node)) {
YapfNotifyTrackLayoutChange(INVALID_TILE, INVALID_TRACK);
+ }
return true;
}