Make Selection::parent() work for stars.
parent
235a15aca7
commit
9d6e767c05
|
@ -167,6 +167,8 @@ Selection Selection::parent() const
|
|||
break;
|
||||
|
||||
case Type_Star:
|
||||
return Selection(star()->getOrbitBarycenter());
|
||||
|
||||
case Type_DeepSky:
|
||||
// Currently no hierarchy for stars and deep sky objects.
|
||||
return Selection();
|
||||
|
|
Loading…
Reference in New Issue