Hydra constellation not selectable by script

Bug #894780 reported by Ross
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
High
Bogdan Marinov

Bug Description

It seems that Hydra constellation is not selectable inside a script:

ConstellationMgr.setFlagIsolateSelected(true);
core.selectObjectByName("Hydra",true);

(it will select all 88 constellations).

(Stellarium 0.11.1 for Windows, don't know if it happens with older version)

Maybe, I entered the wrong name, but which is the correct one?

Related branches

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Stellarium have also moon of Pluto with name Hydra and script select this object.

Revision history for this message
Ross (rosario-ing) wrote :

So, what I have to do to select Hydra constellation instead of Pluto's Hydra?

Revision history for this message
Khalid AlAjaji (kajaji) wrote :

Hi Ross,
You can use the constellation abbreviation for Hydra, Hya.

core.selectObjectByName("Hya",true);

another option is to select a star that is a member of the lines forming the figure of the constellation like HIP46390.

core.selectObjectByName("HIP46390",true);

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

The same bug also prevents the constellation being found when using the Find dialog.

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
importance: Undecided → High
milestone: none → 0.11.2
status: New → In Progress
Revision history for this message
Alexander Wolf (alexwolf) wrote :

But this is not bug in clear view because we have two different objects with same name.

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Ross,

a better work-around would be to edit the ssystem.ini file and change the name of Hydra to "Hydra (moon)" or something like that. The other option is to wait for the next release of Stellarium.

A fix has been committed as revision 5060 of the trunk branch:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5060

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.