Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don't
Simplify GDVIRTUAL_CALL calls
This commit is contained in:
commit
be126d42d4
28 changed files with 507 additions and 983 deletions
|
|
@ -34,10 +34,8 @@
|
|||
|
||||
AABB VisualInstance3D::get_aabb() const {
|
||||
AABB ret;
|
||||
if (GDVIRTUAL_CALL(_get_aabb, ret)) {
|
||||
return ret;
|
||||
}
|
||||
return AABB();
|
||||
GDVIRTUAL_CALL(_get_aabb, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void VisualInstance3D::_update_visibility() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue