adg: improve adg_path_remove_primitive() behavior
commit7e78a18a03c4089bfee89d05d190eea6f05aaf73
authorNicola Fontana <ntd@entidi.it>
Sun, 5 Feb 2017 17:55:38 +0000 (5 18:55 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 5 Feb 2017 17:55:38 +0000 (5 18:55 +0100)
treec3489bf60270b223863a73873d492885b699aa13
parent95d6ce795e6c217a527d8f5dcc333414c290c0ea
adg: improve adg_path_remove_primitive() behavior

Do not consider CPML_MOVE items when removing the last primitive. Also,
recompute the path to refresh the last and over primitives.
src/adg/adg-path.c
src/adg/tests/test-path.c