remove texture auto_destroy flag
This commit is contained in:
@@ -40,7 +40,7 @@ void NodeDialogExportPPBR::init_controls()
|
||||
btn_header_clear = find<NodeButton>("header-clear");
|
||||
btn_header_clear->on_click = [this] (Node*) {
|
||||
m_header_image.reset();
|
||||
img_header->tex->destroy();
|
||||
img_header->tex.reset();
|
||||
txt_header_descr->SetVisibility(true);
|
||||
};
|
||||
btn_header_gen = find<NodeButton>("header-gen");
|
||||
@@ -85,4 +85,5 @@ void NodeDialogExportPPBR::added(Node* parent)
|
||||
NodeBorder::added(parent);
|
||||
if (added_to_root())
|
||||
mouse_capture();
|
||||
txt_author->key_capture();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user