Browse Source

Fix missing deprecated Shape:getShape method.

Sasha Szpakowski 1 year ago
parent
commit
d13a7f7620
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/physics/box2d/wrap_Shape.cpp

+ 1 - 0
src/modules/physics/box2d/wrap_Shape.cpp

@@ -361,6 +361,7 @@ const luaL_Reg w_Shape_functions[] =
 	{ "getRestitution", w_Shape_getRestitution },
 	{ "getDensity", w_Shape_getDensity },
 	{ "getBody", w_Shape_getBody },
+	{ "getShape", w_Shape_getShape },
 	{ "isSensor", w_Shape_isSensor },
 	{ "testPoint", w_Shape_testPoint },
 	{ "rayCast", w_Shape_rayCast },