Grimrukh / soulstruct-blender

Blender plugins for FromSoft games, via `soulstruct`.
86 stars 4 forks source link

[FIX] Implicit call to super() #69

Closed EclipsedButter closed 2 hours ago

EclipsedButter commented 2 hours ago

bug introduced with 2.1.1: # ERROR: Cannot import FLVER: c2730. Error: super(type, obj): obj must be an instance or subtype of type. Seems to happen for any game, likely just introduced as a result of splitting FLVER into BaseFLVER, FLVER, and FLVER0. Untested with DeS. Current fix, use explicit call:

soulstruct/base/models/flver/core.py.FLVER.guess_rigged (line 473)
    has_bone_weights = super(FLVER, self).guess_rigged()
Grimrukh commented 2 hours ago

Ah, my bad, fixing right now!

Grimrukh commented 2 hours ago

Fixed this in v2.1.2, and other non-DeS-breaking bugs with DCX compression and FLVER/collision export.