mirror of
https://github.com/recastnavigation/recastnavigation.git
synced 2026-09-05 09:58:43 +00:00
Distance field timer was not halted.
This commit is contained in:
@@ -931,6 +931,8 @@ bool rcBuildDistanceField(rcContext* ctx, rcCompactHeightfield& chf)
|
||||
chf.dist = src;
|
||||
|
||||
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD_BLUR);
|
||||
|
||||
ctx->stopTimer(RC_TIMER_BUILD_DISTANCEFIELD);
|
||||
|
||||
rcFree(dst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user