diff options
Diffstat (limited to 'generic/Track.c')
-rw-r--r-- | generic/Track.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/Track.c b/generic/Track.c index 1d68217..77366cf 100644 --- a/generic/Track.c +++ b/generic/Track.c @@ -2288,12 +2288,20 @@ Selection(ZnItem item, * ********************************************************************************** */ +/* + * Track and WP -position attribute is not handled the same way as other + * interface items like texts, icons and such, as it make little sense + * to change the local transform of a track. It is always processed as + * a point in the coordinate system of the track's parent. It is the same + * for the points in the history and the speed vector end. + */ static ZnItemClassStruct TRACK_ITEM_CLASS = { sizeof(TrackItemStruct), 4, /* num_parts */ True, /* has_anchors */ "track", track_attrs, + -1, Init, Clone, Destroy, @@ -2327,6 +2335,7 @@ static ZnItemClassStruct WAY_POINT_ITEM_CLASS = { True, /* has_anchors */ "waypoint", wp_attrs, + -1, Init, Clone, Destroy, |