mirror of
https://github.com/wassname/sloth.git
synced 2026-07-31 12:41:25 +08:00
fix CopyAnnotationsPlugin, obeys prefix now
This commit is contained in:
@@ -66,7 +66,7 @@ class CopyAnnotationsPlugin(QObject):
|
||||
for key in keys:
|
||||
if not self._prefix + key in annotation:
|
||||
return None
|
||||
return [annotation[key] for key in keys]
|
||||
return [annotation[self._prefix + key] for key in keys]
|
||||
|
||||
def overlap(self, r1, r2):
|
||||
ia = float(self.area(self.intersect(r1, r2)))
|
||||
|
||||
Reference in New Issue
Block a user