mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[cpp] Fix constants of InheritTimeline
This commit is contained in:
parent
73a6a946f0
commit
39b6a50311
@ -62,6 +62,9 @@ namespace spine {
|
||||
|
||||
private:
|
||||
int _boneIndex;
|
||||
|
||||
static const int ENTRIES = 2;
|
||||
static const int INHERIT = 1;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -41,9 +41,6 @@ using namespace spine;
|
||||
|
||||
RTTI_IMPL(InheritTimeline, Timeline)
|
||||
|
||||
#define ENTRIES 2
|
||||
#define INHERIT 1
|
||||
|
||||
InheritTimeline::InheritTimeline(size_t frameCount, int boneIndex) : Timeline(frameCount, ENTRIES),
|
||||
_boneIndex(boneIndex) {
|
||||
PropertyId ids[] = {((PropertyId) Property_Inherit << 32) | boneIndex };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user