You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #50648 from foxydevloper/remove-weird-prints
Remove leftover prints when using shader global variables
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user