Comment 3 for bug 600889

Revision history for this message
Jon Cluck (cluckj) wrote : Re: [Bug 600889] Re: core.selectObjectByName clearing function is not working

The script you posted works as expected, I forgot to post on the bug that it
showed up only with constellations. Try the following:

ConstellationMgr.setFlagIsolateSelected(true);
ConstellationMgr.setFlagLines(true);
core.selectObjectByName("Ursa Major",true);
core.wait(1.0);
core.selectObjectByName("", true);
core.wait(1.0);
core.selectObjectByName("Ursa Minor", true);
core.wait(1.0);
core.selectObjectByName("", true);
core.wait(1.0);

On Wed, Jul 7, 2010 at 6:49 PM, Matthew Gates <email address hidden> wrote:

> Jon Cluck: Please can you run this test script and see what it does? I
> expect it to zoom in on HP85927, and then the selection should toggle on
> and off a few times (including the selected object information).
>
> core.clear("starchart");
> core.selectObjectByName("HP85927",true);
> StelMovementMgr.autoZoomIn(0.5);
> core.wait(1);
> core.selectObjectByName("HP85927", true);
> core.wait(0.5);
> core.selectObjectByName("", true);
> core.wait(0.5);
> core.selectObjectByName("HP85927", true);
> core.wait(0.5);
> core.selectObjectByName("", true);
> core.wait(0.5);
> core.selectObjectByName("HP85927", true);
> core.wait(0.5);
> core.selectObjectByName("", true);
> core.wait(0.5);
>
>
>
> ** Changed in: stellarium
> Status: Confirmed => In Progress
>
> --
> core.selectObjectByName clearing function is not working
> https://bugs.launchpad.net/bugs/600889
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Stellarium: In Progress
>
> Bug description:
> core.selectObjectByName("", false);
> This should clear the currently selected object(s), but it does not do
> anything.
>
> OS: Windows XP
> Stellarium v0.10.5
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/stellarium/+bug/600889/+subscribe
>