MCPcopy Create free account
hub / github.com/chrxh/alien / onGenerateExecutionOrderNumbers

Method onGenerateExecutionOrderNumbers

source/Gui/PatternEditorWindow.cpp:411–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void PatternEditorWindow::onGenerateExecutionOrderNumbers()
412{
413 auto dataWithClusters = _simulationFacade->getSelectedSimulationData(true);
414 auto dataWithoutClusters = _simulationFacade->getSelectedSimulationData(false);
415 std::unordered_set<uint64_t> cellIds = dataWithoutClusters.getCellIds();
416
417 auto parameters = _simulationFacade->getSimulationParameters();
418 DescriptionEditService::get().generateExecutionOrderNumbers(dataWithClusters, cellIds, parameters.cellNumExecutionOrderNumbers);
419
420 _simulationFacade->removeSelectedObjects(true);
421 _simulationFacade->addAndSelectSimulationData(dataWithClusters);
422}
423
424void PatternEditorWindow::onMakeSticky()
425{

Callers

nothing calls this directly

Calls 6

getCellIdsMethod · 0.80
removeSelectedObjectsMethod · 0.45

Tested by

no test coverage detected