[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
5f1e56ff26
commit
75ee58fd04
61 changed files with 217 additions and 217 deletions
|
|
@ -47,7 +47,7 @@ EditorPerformanceProfiler::Monitor::Monitor(String p_name, String p_base, int p_
|
|||
}
|
||||
|
||||
void EditorPerformanceProfiler::Monitor::update_value(float p_value) {
|
||||
ERR_FAIL_COND(!item);
|
||||
ERR_FAIL_NULL(item);
|
||||
String label = EditorPerformanceProfiler::_create_label(p_value, type);
|
||||
String tooltip = label;
|
||||
switch (type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue