scene font rendering
[carveJwlIkooP6JGAAIwe30JlM.git] / blender_export.py
index 70bb5ef494d9db15433bd6159e945fde98a4bdb5..52f674f73ba4042a0b308ce01822e23daeb42bb5 100644 (file)
@@ -476,7 +476,8 @@ class ent_challenge(Structure):#{
 #}
 
 class ent_unlock(Structure):#{
-   _fields_ = [("pstr_alias",c_uint32),
+   _fields_ = [("transform",mdl_transform),
+               ("pstr_alias",c_uint32),
                ("target",c_uint32),
                ("target_event",c_uint32),
                ("status",c_uint32)]
@@ -1874,6 +1875,7 @@ def sr_compile( collection ):
          elif ent_type == 'ent_unlock':#{
             unlock = ent_unlock()
             obj_data = obj.SR_data.ent_unlock[0]
+            compile_obj_transform( obj, unlock.transform )
             unlock.pstr_alias = sr_compile_string( obj_data.alias )
             unlock.target = sr_entity_id( obj_data.target )
             unlock.target_event = obj_data.target_event