Remove random prints for some shader actions
This commit is contained in:
parent
dfc1ec7fb9
commit
91bd7b9b2c
2 changed files with 0 additions and 4 deletions
|
@ -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("Add Shader Global Variable");
|
undo_redo->create_action("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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue