Browse Source

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

 Remove leftover prints when using shader global variables
Rémi Verschelde 4 years ago
parent
commit
67d3195c60
2 changed files with 0 additions and 4 deletions
  1. 0 1
      editor/editor_inspector.cpp
  2. 0 3
      editor/shader_globals_editor.cpp

+ 0 - 1
editor/editor_inspector.cpp

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

+ 0 - 3
editor/shader_globals_editor.cpp

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