Merge pull request #50648 from foxydevloper/remove-weird-prints

Remove leftover prints when using shader global variables
This commit is contained in:
Rémi Verschelde 2021-07-20 17:23:39 +02:00 committed by GitHub
commit 67d3195c60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -2367,7 +2367,6 @@ void EditorInspector::_property_keyed(const String &p_path, bool p_advance) {
} }
void EditorInspector::_property_deleted(const String &p_path) { void EditorInspector::_property_deleted(const String &p_path) {
print_line("deleted pressed?");
if (!object) { if (!object) {
return; return;
} }

View file

@ -110,7 +110,6 @@ protected:
undo_redo->commit_action(); undo_redo->commit_action();
block_update = false; block_update = false;
print_line("all good?");
return true; return true;
} }
@ -410,7 +409,6 @@ void ShaderGlobalsEditor::_variable_added() {
} }
void ShaderGlobalsEditor::_variable_deleted(const String &p_variable) { void ShaderGlobalsEditor::_variable_deleted(const String &p_variable) {
print_line("deleted " + p_variable);
UndoRedo *undo_redo = EditorNode::get_singleton()->get_undo_redo(); UndoRedo *undo_redo = EditorNode::get_singleton()->get_undo_redo();
undo_redo->create_action(TTR("Add Shader Global Variable")); undo_redo->create_action(TTR("Add Shader Global Variable"));
@ -439,7 +437,6 @@ void ShaderGlobalsEditor::_bind_methods() {
void ShaderGlobalsEditor::_notification(int p_what) { void ShaderGlobalsEditor::_notification(int p_what) {
if (p_what == NOTIFICATION_VISIBILITY_CHANGED) { if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
if (is_visible_in_tree()) { if (is_visible_in_tree()) {
print_line("OK load settings in globalseditor");
inspector->edit(interface); inspector->edit(interface);
} }
} }