remove ui namespace which is not really used, move CameraData in camera_modes.h to avoid the inclusion of canva.h
This commit is contained in:
@@ -49,7 +49,7 @@ void NodePanelGrid::init_controls()
|
||||
|
||||
m_hm_load->on_click = [this](Node*) {
|
||||
App::I.pick_image([this](std::string path) {
|
||||
ui::Image img;
|
||||
Image img;
|
||||
if (img.load_file(path))
|
||||
{
|
||||
m_hm_image = img.resize(128, 128);
|
||||
|
||||
Reference in New Issue
Block a user