mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
DistanceJoint:getType now returns "distance" instead of "circle"
This commit is contained in:
@@ -19,6 +19,7 @@ LOVE 0.7.0
|
|||||||
* Fixed a bug where ParticleSystem::setSprite did not retain the new image.
|
* Fixed a bug where ParticleSystem::setSprite did not retain the new image.
|
||||||
* Fixed a bug where images would lose their settings (wrapping, filters) when setMode as called.
|
* Fixed a bug where images would lose their settings (wrapping, filters) when setMode as called.
|
||||||
* Fixed a bug where shape:getBody wasn't exposed.
|
* Fixed a bug where shape:getBody wasn't exposed.
|
||||||
|
* Fixed a bug where DistanceJoint:getType() returned "circle" - it now returns "distance".
|
||||||
* Invalid FSAA values now fall back to working ones (or none at all).
|
* Invalid FSAA values now fall back to working ones (or none at all).
|
||||||
* Cleaned up traceback in error screen.
|
* Cleaned up traceback in error screen.
|
||||||
* Moved fonts to love.font (from love.graphics), only rendering remains in love.graphics.
|
* Moved fonts to love.font (from love.graphics), only rendering remains in love.graphics.
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ namespace physics
|
|||||||
|
|
||||||
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM>::Entry Joint::typeEntries[] =
|
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM>::Entry Joint::typeEntries[] =
|
||||||
{
|
{
|
||||||
{"circle", Joint::JOINT_DISTANCE},
|
{"distance", Joint::JOINT_DISTANCE},
|
||||||
{"revolute", Joint::JOINT_REVOLUTE},
|
{"revolute", Joint::JOINT_REVOLUTE},
|
||||||
{"prismatic", Joint::JOINT_PRISMATIC},
|
{"prismatic", Joint::JOINT_PRISMATIC},
|
||||||
{"mouse", Joint::JOINT_MOUSE},
|
{"mouse", Joint::JOINT_MOUSE},
|
||||||
|
|||||||
Reference in New Issue
Block a user