2
0
Эх сурвалжийг харах

fix fixtureless 2D shape scaling; fixes #2111

Ricardo Abreu 8 жил өмнө
parent
commit
c21f5dd8b1

+ 1 - 2
Source/Urho3D/Urho2D/CollisionShape2D.cpp

@@ -320,8 +320,7 @@ void CollisionShape2D::OnMarkedDirty(Node* node)
 
     cachedWorldScale_ = newWorldScale;
 
-    if (fixture_)
-        ApplyNodeWorldScale();
+    ApplyNodeWorldScale();
 }
 
 }