Moved GetTexturePath lua function from Sprite to RageTexture and renamed it to GetPath. Updated changelog.
This commit is contained in:
@@ -114,6 +114,7 @@ public:
|
||||
DEFINE_METHOD(GetTextureHeight, GetTextureHeight());
|
||||
DEFINE_METHOD(GetImageWidth, GetImageWidth());
|
||||
DEFINE_METHOD(GetImageHeight, GetImageHeight());
|
||||
DEFINE_METHOD(GetPath, GetID().filename);
|
||||
|
||||
LunaRageTexture()
|
||||
{
|
||||
@@ -129,6 +130,7 @@ public:
|
||||
ADD_METHOD(GetTextureHeight);
|
||||
ADD_METHOD(GetImageWidth);
|
||||
ADD_METHOD(GetImageHeight);
|
||||
ADD_METHOD(GetPath);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user