[AdgEntity] Matrix recomputation only in arrange()
commit2ee5e86bf3fd8663733c9195bacc2903f1a779ef
authorNicola Fontana <ntd@entidi.it>
Sat, 9 Jan 2010 15:53:17 +0000 (9 16:53 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 9 Jan 2010 15:53:17 +0000 (9 16:53 +0100)
tree98f972d0ca9b35973d1924586bff55408d0d9803
parent9fe894772fa28327d07b9c5651d2dec1b0a2f433
[AdgEntity] Matrix recomputation only in arrange()

Updating the local and global matrices is done by the "local-changed"
and "global-changed" default signal handlers. These signals are now
emitted by the real_arrange() default signal handler and only if their
own is_defined flag is TRUE (set whenever the relative map is changed).

There is no need to recursively set the is_defined flag on the children
because the "local-changed" and "global-changed" signals are the ones
forwarded to the descendants.

Closes issue #11: http://dev.entidi.com/p/adg/issues/11/
adg/adg-entity.c
adg/adg-enums.c