Xcos MVC: check parentBlock before parentDiagram 87/17587/1
authorPaul Bignier <paul.bignier@scilab-enterprises.com>
Thu, 17 Dec 2015 09:18:15 +0000 (10:18 +0100)
committerPaul Bignier <paul.bignier@scilab-enterprises.com>
Thu, 17 Dec 2015 09:18:23 +0000 (10:18 +0100)
commitd0277bf9a7f708399b1142a08c834732bba4725f
tree8d634055bfd1192c39d5d2826fe2cb057fb8b944
parent3d1b4f6825465f3ede274e1c23f018459173084a
Xcos MVC: check parentBlock before parentDiagram

 * All objects reference the root diagram, but superblocks elements reference their parentBlock

Change-Id: Ib2c99d92ed58a6e85986f191da38753746df886f
scilab/modules/scicos/src/cpp/view_scilab/LinkAdapter.cpp