Fix blank animqueues, and add facing=math.auto to animate
This commit is contained in:
@@ -426,9 +426,8 @@ void DrivenEngine::drv_get_animation_queues(uint32_t count, const int64_t *ids,
|
||||
anim_queues_.resize(count);
|
||||
|
||||
if (visible_world_ == nullptr) {
|
||||
util::SharedStdString empty = std::make_shared<std::string>("");
|
||||
for (int i = 0; i < int(count); i++) {
|
||||
anim_queues_[i] = empty;
|
||||
anim_queues_[i] = AnimQueue::get_encoded_blank_queue();
|
||||
}
|
||||
} else {
|
||||
visible_world_->get_encoded_animation_queues(count, ids, anim_queues_);
|
||||
|
||||
Reference in New Issue
Block a user