From 8f144f8393c96993489a5b533fa6c56ba1f9a384 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 17 Sep 2008 07:01:56 +0000 Subject: Add the pre-render method entry in the Track class record And swap the Draw and pre-render fields (previous patch error). --- generic/Track.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'generic/Track.c') diff --git a/generic/Track.c b/generic/Track.c index 6e11e7c..7c1e8f7 100644 --- a/generic/Track.c +++ b/generic/Track.c @@ -2401,6 +2401,7 @@ static ZnItemClassStruct TRACK_ITEM_CLASS = { ComputeCoordinates, ToArea, Draw, + NULL, /* Pre-render */ Render, IsSensitive, Pick, @@ -2434,8 +2435,8 @@ static ZnItemClassStruct WAY_POINT_ITEM_CLASS = { NULL, /* Contour */ ComputeCoordinates, ToArea, - NULL, /* Pre-render */ Draw, + NULL, /* Pre-render */ Render, IsSensitive, Pick, -- cgit v1.1