Fix a few more super calls in get_configuration_warnings methods
A few missed last pass and one incorrect from that pass
This commit is contained in:
@@ -641,7 +641,7 @@ void RigidBody2D::_notification(int p_what) {
|
||||
PackedStringArray RigidBody2D::get_configuration_warnings() const {
|
||||
Transform2D t = get_transform();
|
||||
|
||||
PackedStringArray warnings = CollisionObject2D::get_configuration_warnings();
|
||||
PackedStringArray warnings = PhysicsBody2D::get_configuration_warnings();
|
||||
|
||||
if (ABS(t.columns[0].length() - 1.0) > 0.05 || ABS(t.columns[1].length() - 1.0) > 0.05) {
|
||||
warnings.push_back(RTR("Size changes to RigidBody2D will be overridden by the physics engine when running.\nChange the size in children collision shapes instead."));
|
||||
|
||||
Reference in New Issue
Block a user