mirror of https://github.com/AxioDL/metaforce.git
MAPA fix
This commit is contained in:
parent
ed5085e42b
commit
d92ba13405
|
@ -173,7 +173,11 @@ def cook(writebuf, mesh_obj):
|
|||
obj.matrix_world[3][0], obj.matrix_world[3][1], obj.matrix_world[3][2], obj.matrix_world[3][3]))
|
||||
|
||||
def draw(layout, context):
|
||||
pass
|
||||
obj = context.active_object
|
||||
if obj and obj.retro_mappable_type != -1:
|
||||
layout.prop(obj, 'retro_mappable_type', text='Type')
|
||||
layout.prop(obj, 'retro_mappable_unk', text='Unk')
|
||||
layout.prop(obj, 'retro_mappable_sclyid', text='Object ID')
|
||||
|
||||
def register():
|
||||
bpy.types.Object.retro_mappable_type = bpy.props.IntProperty(name='Retro: MAPA object type', default=-1)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 9a7cadce3a7de43cb9b3823439e97071395015b7
|
||||
Subproject commit 12bbf540fd25a30b832cdfa94a38acaa5839a969
|
Loading…
Reference in New Issue