17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 02:49:19 +02:00

fix(editor): stuck brush after clicks on UI; add polygon area fill

This commit is contained in:
2026-10-01 01:17:21 +02:00
parent b67bbb19e6
commit 39dd1c057f
6 changed files with 674 additions and 33 deletions

View File

@@ -55,6 +55,16 @@ void editor_ui::toggleBrushSettings(bool isVisible)
m_brushobjects.is_open = isVisible;
}
std::vector<std::string> editor_ui::nodebank_groups() const
{
return m_nodebankpanel.group_names();
}
std::vector<std::string> editor_ui::nodebank_group_templates(std::size_t const Group) const
{
return m_nodebankpanel.group_templates(Group);
}
void editor_ui::set_node(scene::basic_node *Node)
{
m_node = Node;