[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 04/08: grc: rewrite block before adding con
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 04/08: grc: rewrite block before adding connections during flowgraph import |
Date: |
Tue, 5 Apr 2016 23:29:12 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit bc36ab06bb904dfda0a65b0181648ef5cd23920a
Author: Sebastian Koslowski <address@hidden>
Date: Tue Apr 5 10:28:37 2016 +0200
grc: rewrite block before adding connections during flowgraph import
E.g.: Not all connections to a block with nports controlled via a
parameter block could be restored from file.
report by Johannes Demel
fixes #37 on github
---
grc/base/FlowGraph.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/grc/base/FlowGraph.py b/grc/base/FlowGraph.py
index 072414a..0398dfd 100644
--- a/grc/base/FlowGraph.py
+++ b/grc/base/FlowGraph.py
@@ -375,6 +375,8 @@ class FlowGraph(Element):
block.import_data(block_n)
+ self.rewrite() # evaluate stuff like nports before adding connections
+
# build the connections
def verify_and_get_port(key, block, dir):
ports = block.get_sinks() if dir == 'sink' else block.get_sources()
- [Commit-gnuradio] [gnuradio] branch maint updated (0341203 -> d0eab54), git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 02/08: ctrlport: change to doc; no -p flag required for gr-perf-monitorx, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 03/08: grc: stop overwritting modified param values in epy blocks, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 08/08: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 05/08: grc: ignore xml comments in block wrappers, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 06/08: grc: fix bug #856: paging/scrolling from keyboard, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 01/08: ctrlport: change to doc; no -p flag required for gr-ctrlport-monitor, git, 2016/04/05
- [Commit-gnuradio] [gnuradio] 04/08: grc: rewrite block before adding connections during flowgraph import,
git <=
- [Commit-gnuradio] [gnuradio] 07/08: Merge remote-tracking branch 'tracierenea/ctrlport_doc' into maint, git, 2016/04/05