Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-08-2016, 18:15   #1
Registered User

Join Date: Aug 2012
Location: San Jose, CA, USA
Posts: 83
track to route crashing?

Hi,

O (complied from github master) crashes for me when trying to convert tracks into routes. Concrete steps where to create a weather routing, export that (which creates a track), then clicking on the "Route from Track" button of the "Tracks" tab of "Route and Mark Manager".

I just created a pull request [1] with a potential fix, but now I'm wondering if perhaps I do something wrong because this should be a fairly often used functionality and I can't find anyone else reporting this bug.

[1]: https://github.com/OpenCPN/OpenCPN/pull/690
nkiesel is offline   Reply With Quote
Old 04-08-2016, 20:32   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,396
Re: track to route crashing?

nkiesel...

Thanks for the patch.

I think your code is probably OK. Sean has done major work done to refactor Tracks away from Routes, to support faster rendering of large/complex tracks. Not surprising that edge cases get missed.

Consider github commit:
639f9673057e92d4cc96b431e925e23af8dfbb7b
which brings in a whole new track list(vector) implementation.

Also, note that you can invoke
RouteManagerDialog::OnTrkMenuSelected()

by right-clicking on a track-point item(row) in the RouteManagerDialog.

If Sean has no comments, I'll merge your Pull Request.

Thanks again
Dave
bdbcat is online now   Reply With Quote
Reply

Tags
route


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN 3.0.2 Keeps on Crashing George64 OpenCPN 13 23-09-2012 20:41
Opencpn crashing. tillybobs Navigation 15 15-07-2012 09:26
MaxSea v 11 Crashing Problems Jim Cate Navigation 20 13-11-2011 10:31
Some Crashing Problems on XP jimbim OpenCPN 8 26-01-2011 03:46
Boom came crashing down while sailing!! Need help please! Amigo Deck hardware: Rigging, Sails & Hoisting 8 27-08-2008 12:04

Advertise Here


All times are GMT -7. The time now is 13:44.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.