From ddfcf61f1258620e505376621b8b17c12192c578 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 30 May 2010 13:38:58 +0000 Subject: [PATCH] Add a second version of reference by select proxy (doesn't remove people) svn: r15512 --- src/ExportOptions.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ExportOptions.py b/src/ExportOptions.py index d73858689..499165d33 100644 --- a/src/ExportOptions.py +++ b/src/ExportOptions.py @@ -223,7 +223,8 @@ class WriterOptionBox(object): row = 0 for item in [ _('Include all objects'), - _('Include only items connected to selected people'), + _('Include only items connected to another item'), + _('Include only items connected to all people'), _('Include items that are not orphans')]: model.append(row=[item, row]) row += 1 @@ -615,6 +616,9 @@ class WriterOptionBox(object): elif self.reference_num == 1: dbase = gen.proxy.ReferencedBySelectionProxyDb(dbase) elif self.reference_num == 2: + dbase = gen.proxy.ReferencedBySelectionProxyDb(dbase, + all_people=True) + elif self.reference_num == 3: dbase = gen.proxy.ReferencedProxyDb(dbase) else: raise AttributeError("no such proxy '%s'" % proxy_name)