Fix AncestorTree so add siblings to center person works (#852)
Fixes #11215
This commit is contained in:
parent
949296a801
commit
f7d58f4c28
@ -352,7 +352,7 @@ class MakeAncestorTree(AscendPerson):
|
|||||||
mee = self.add_person((1, 1, move+rrr), kid, self.center_family)
|
mee = self.add_person((1, 1, move+rrr), kid, self.center_family)
|
||||||
line.add_from(mee)
|
line.add_from(mee)
|
||||||
#mee.level = (0, 1, level - (len(mykids)//2)+rrr)
|
#mee.level = (0, 1, level - (len(mykids)//2)+rrr)
|
||||||
|
mee.line_to = line
|
||||||
|
|
||||||
def start(self, person_id):
|
def start(self, person_id):
|
||||||
""" go ahead and make it happen """
|
""" go ahead and make it happen """
|
||||||
|
@ -518,7 +518,9 @@ class AscendPerson(_StopRecurse, _PersonSeen):
|
|||||||
"""
|
"""
|
||||||
A simple header to make sure we pass in the correct information
|
A simple header to make sure we pass in the correct information
|
||||||
"""
|
"""
|
||||||
return self.__iterate(1, 1, person_handle, None)
|
person = self.database.get_person_from_handle(person_handle)
|
||||||
|
return self.__iterate(1, 1, person_handle,
|
||||||
|
person.get_main_parents_family_handle())
|
||||||
|
|
||||||
|
|
||||||
#------------
|
#------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user