fixing offsets
This commit is contained in:
parent
5b63271f5a
commit
e78d01b547
|
|
@ -273,7 +273,13 @@ pub const Animator = struct {
|
|||
self.setAnimationByName(name) catch unreachable;
|
||||
}
|
||||
|
||||
pub fn deinitECS(self: *@This(), handle: core.SetHandle) void {
|
||||
_ = handle;
|
||||
self.deinit();
|
||||
}
|
||||
|
||||
pub fn deinit(self: *@This()) void {
|
||||
core.engine_logs("destroying animator!!");
|
||||
self.sjc.destroy();
|
||||
self.removeResolver();
|
||||
self.finals.deinit(allocator);
|
||||
|
|
@ -456,6 +462,7 @@ pub const AnimationSystem = struct {
|
|||
for (Animator.BaseContainer.list.items) |animator| {
|
||||
animator.deinit();
|
||||
}
|
||||
|
||||
self.slots.deinit();
|
||||
core.undefineComponent(Animator);
|
||||
self.arena.deinit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue