Skip to content

Commit 53b2692

Browse files
committed
BugFix: Mapped submodel env properties were not being init from file.
Identified in #1400
1 parent fba2421 commit 53b2692

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/flamegpu/simulation/CUDASimulation.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,6 +1891,7 @@ void CUDASimulation::initEnvironmentMgr() {
18911891
"in CUDASimulation::initEnvironmentMgr()\n", prop.first.c_str(), prop.second.elements, it->second.elements);
18921892
} else {
18931893
singletons->environment->setPropertyDirect(np, static_cast<char*>(prop.second.ptr));
1894+
singletons->environment->propagateMappedPropertyValue(np, static_cast<char*>(prop.second.ptr));
18941895
}
18951896
}
18961897
// Clear init

0 commit comments

Comments
 (0)