Browse Source

Merge pull request #285 from DoobesURU/SDLVarFix

SDL Variable Fix
pull/287/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
ea2e7eaf01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      korman/exporter/material.py

2
korman/exporter/material.py

@ -558,7 +558,7 @@ class MaterialConverter:
if anim.loop:
atc.flags |= plAnimTimeConvert.kLoop
if isinstance(top_layer, plLayerSDLAnimation):
top_layer.varName = layer_props.sdl_var
top_layer.varName = anim.sdl_var
else:
# Crappy automatic entire layer animation. Loop it by default.
controllers = self._export_layer_controllers(bo, bm, tex_slot, idx, base_layer)

Loading…
Cancel
Save