mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
disable regulation of workload views by default
This commit is contained in:
parent
85beca6b67
commit
cd568867b2
2 changed files with 8 additions and 1 deletions
|
@ -56,6 +56,13 @@ void ControlViews::run(const workload::WorkloadContextPointer& runContext, const
|
|||
auto config = std::static_pointer_cast<Config>(runContext->jobConfig);
|
||||
config->dataExport = _dataExport;
|
||||
config->emitDirty();
|
||||
} else {
|
||||
for (auto& outView : outViews) {
|
||||
outView.regionBackFronts[workload::Region::R1] = regionBackFronts[workload::Region::R1];
|
||||
outView.regionBackFronts[workload::Region::R2] = regionBackFronts[workload::Region::R2];
|
||||
outView.regionBackFronts[workload::Region::R3] = regionBackFronts[workload::Region::R3];
|
||||
workload::View::updateRegionsFromBackFronts(outView);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ public:
|
|||
float r3RangeFront() const { return dataExport.ranges[workload::Region::R3].y; }
|
||||
|
||||
struct Data {
|
||||
bool regulateViewRanges{ true };
|
||||
bool regulateViewRanges{ false };
|
||||
} data;
|
||||
|
||||
struct DataExport {
|
||||
|
|
Loading…
Reference in a new issue