Commit 9e050f87 authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

CHG: scenario produces the "layout" mask image only once (it's constant per time anyway)

parent 0c273426
Pipeline #9872 failed with stages
in 47 seconds
......@@ -123,6 +123,13 @@ public:
{
//set my "grid pixel" to mark I was alive
mask.SetVoxel((size_t)x,(size_t)y,0, (i3d::GRAY16)ID);
//one agent will disable producing mask images after it was created at least once
if (ID == 1 && currTime == 0.1f)
{
DEBUG_REPORT("stopping the production of the maskXXX.tif");
Officer->disableProducingOutput(mask);
}
}
void drawTexture(i3d::Image3d<float>& phantom, i3d::Image3d<float>& indices)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment