diff --git a/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp b/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp index 25fc99b7a..0f042537a 100644 --- a/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp +++ b/modules/material_maker/editor/widgets/tones_editor/tones_editor.cpp @@ -94,7 +94,6 @@ MMTonesEditor::~MMTonesEditor() { void MMTonesEditor::on_input_property_changed() { if (!_node.is_valid()) { _histogram_tr->set_texture(make_default_histogram()); - ERR_PRINT("asdasd"); return; } @@ -102,12 +101,9 @@ void MMTonesEditor::on_input_property_changed() { if (!img.is_valid()) { _histogram_tr->set_texture(make_default_histogram()); - ERR_PRINT("asdasd2"); return; } - ERR_PRINT("asdasd3"); - _histogram_tr->set_texture(make_histogram(img)); }