MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getCurrentSelection

Method getCurrentSelection

Gui/DopeSheet.cpp:1278–1289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1276}
1277
1278void
1279DopeSheetSelectionModel::getCurrentSelection(DopeSheetKeyPtrList* keys,
1280 std::vector<DSNodePtr>* nodes) const
1281{
1282 *keys = _imp->selectedKeyframes;
1283 for (std::list<DSNodeWPtr>::const_iterator it = _imp->selectedRangeNodes.begin(); it != _imp->selectedRangeNodes.end(); ++it) {
1284 DSNodePtr n = it->lock();
1285 if (n) {
1286 nodes->push_back(n);
1287 }
1288 }
1289}
1290
1291std::vector<DopeSheetKey> DopeSheetSelectionModel::getKeyframesSelectionCopy() const
1292{

Callers 7

copySelectedKeysMethod · 0.80
renameSelectedNodeMethod · 0.80
transformSelectedKeysMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
lockMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected