Agents in a state different from default state from the XML file #1091
-
Hi, Thank you very much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
I've just looked at the IO test case, this covers the behaviour you're having a problem with. It has two agents:
It exports and reimports agents in the |
Beta Was this translation helpful? Give feedback.
Ah found the bug.
FLAMEGPU2/src/flamegpu/simulation/Simulation.cu
Line 199 in 193fd83
Should be
setPopulationData(*agent.second, agent.first.second);
.I'll create a quick PR, can merge it after CI passes (probably ~2 hours).