Merge pull request #30126 from qarmin/remove_unnecessary_code
Remove unnecessary code and add some error explanations
This commit is contained in:
@@ -92,7 +92,6 @@ void Navigation2D::_navpoly_link(int p_id) {
|
||||
if (!valid) {
|
||||
nm.polygons.pop_back();
|
||||
ERR_CONTINUE(!valid);
|
||||
continue;
|
||||
}
|
||||
|
||||
p.center = center / plen;
|
||||
|
||||
@@ -71,7 +71,7 @@ private:
|
||||
struct Output {
|
||||
|
||||
AudioFilterSW filter;
|
||||
AudioFilterSW::Processor filter_process[6];
|
||||
AudioFilterSW::Processor filter_process[8];
|
||||
AudioFrame vol[4];
|
||||
float filter_gain;
|
||||
float pitch_scale;
|
||||
|
||||
@@ -90,7 +90,6 @@ void Navigation::_navmesh_link(int p_id) {
|
||||
if (!valid) {
|
||||
nm.polygons.pop_back();
|
||||
ERR_CONTINUE(!valid);
|
||||
continue;
|
||||
}
|
||||
|
||||
p.center = center;
|
||||
|
||||
@@ -282,7 +282,7 @@ void OptionButton::_set_items(const Array &p_items) {
|
||||
|
||||
void OptionButton::get_translatable_strings(List<String> *p_strings) const {
|
||||
|
||||
return popup->get_translatable_strings(p_strings);
|
||||
popup->get_translatable_strings(p_strings);
|
||||
}
|
||||
|
||||
void OptionButton::_bind_methods() {
|
||||
|
||||
Reference in New Issue
Block a user