* src/Config/_GrampsConfigKeys.py: key for gen search depth
* src/GrampsCfg.py: Gramps preferences allows to set search depth of relationship. * src/Relationship.py: methods to change generation depth of search * src/plugins/rel_fr.py: remove depth use * src/plugins/all_relations.py: use depth, correct remark print error * src/plugins/rel_pl.py: remove depth use * src/DisplayState.py: hook to change relclass depth from GrampsCfg See also issue #1290 2007-11-22 Benny Malengier <benny.malengier@gramps-project.org> svn: r9385
This commit is contained in:
@@ -494,7 +494,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
""" DEPRECATED -- DO NOT USE
|
||||
copied here from Relationship.py as no longer needed elsewhere
|
||||
"""
|
||||
if person == None or depth > MAX_DEPTH:
|
||||
if person == None or depth > 15:
|
||||
return
|
||||
depth += 1
|
||||
plist.append(person.handle)
|
||||
|
||||
Reference in New Issue
Block a user