From 14ce794a1654f82fe8ac414e56e842242bece729 Mon Sep 17 00:00:00 2001
From: "Daniel M. Pelt" <D.M.Pelt@cwi.nl>
Date: Tue, 21 Jul 2015 13:51:50 +0200
Subject: Also use ProjectorId in ReconstructionAlgorithm3D plugin base

---
 python/astra/plugin.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'python/astra')

diff --git a/python/astra/plugin.py b/python/astra/plugin.py
index 11cc5cc..3e3528d 100644
--- a/python/astra/plugin.py
+++ b/python/astra/plugin.py
@@ -86,6 +86,7 @@ class ReconstructionAlgorithm2D(base):
 class ReconstructionAlgorithm3D(base):
 
     def astra_init(self, cfg):
+        self.pid = cfg['ProjectorId']
         self.s = data3d.get_shared(cfg['ProjectionDataId'])
         self.v = data3d.get_shared(cfg['ReconstructionDataId'])
         self.vg = data3d.get_geometry(cfg['ReconstructionDataId'])
-- 
cgit v1.2.3