mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-10 22:17:56 +00:00
Add support for Keymap playback
This commit is contained in:
@@ -269,10 +269,6 @@ void ProjectModel::_resetModelData()
|
||||
col.reserve(keymaps.size());
|
||||
for (auto& keymap : SortUnorderedMap(keymaps))
|
||||
col.makeChild<KeymapNode>(keymap.first, keymap.second.get());
|
||||
amuse::KeymapId id = 42;
|
||||
amuse::KeymapId::CurNameDB->registerPair("test", id);
|
||||
auto km = amuse::MakeObj<std::array<amuse::Keymap, 128>>();
|
||||
col.makeChild<KeymapNode>(id, km);
|
||||
}
|
||||
{
|
||||
CollectionNode& col =
|
||||
|
||||
Reference in New Issue
Block a user