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

Method hasSelectionChanged

source/Gui/PatternEditorWindow.cpp:447–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447bool PatternEditorWindow::hasSelectionChanged(SelectionShallowData const& selection) const
448{
449 if(!_lastSelection) {
450 return false;
451 }
452 return _lastSelection->numCells != selection.numCells || _lastSelection->numParticles != selection.numParticles;
453}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected