Fixed a problem with object lifetime and tiling processor input found after GC became active. Added a documentation hint.

This commit is contained in:
Matthias Koefferlein
2022-11-23 01:03:36 +01:00
parent 7431ec6f43
commit e04875b4e0
2 changed files with 28 additions and 2 deletions
+4 -2
View File
@@ -4222,11 +4222,13 @@ CODE
tp.output("res", res)
tp.input("input", self.data)
tp.threads = (@engine.threads || 1)
if tile_boundary
tp.input("boundary", tile_boundary.data)
boundary = tile_boundary.data
else
tp.input("boundary", RBA::Region::new(self.data.bbox))
boundary = RBA::Region::new(self.data.bbox)
end
tp.input("boundary", boundary)
tp.var("vmin", limits[0] || 0.0)
tp.var("vmax", limits[1] || 1.0)