Render heightmap to layer
This commit is contained in:
@@ -108,6 +108,8 @@ void NodeCheckBox::set_icon(const std::string& icon_path)
|
||||
|
||||
void NodeCheckBox::update_icon()
|
||||
{
|
||||
if (m_icon_path.empty())
|
||||
return;
|
||||
auto& t = TextureManager::get(const_hash(m_icon_path.c_str()));
|
||||
if (!m_icon)
|
||||
m_icon = m_inner->add_child<NodeImage>();
|
||||
|
||||
Reference in New Issue
Block a user