diff options
| -rw-r--r-- | src/plugins/viewer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/viewer.c b/src/plugins/viewer.c index 08e4d57..8d9adf4 100644 --- a/src/plugins/viewer.c +++ b/src/plugins/viewer.c | |||
| @@ -158,6 +158,8 @@ bool init(Game* game, State** pp_state) { | |||
| 158 | goto cleanup; | 158 | goto cleanup; |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | // TODO: Instead of this API and the weird cloning that happens internally, | ||
| 162 | // expose a function to create an Anima given a model. | ||
| 161 | Anima* anima = gfx_get_model_anima(state->model); | 163 | Anima* anima = gfx_get_model_anima(state->model); |
| 162 | if (anima) { | 164 | if (anima) { |
| 163 | gfx_play_animation( | 165 | gfx_play_animation( |
