mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +00:00
MAPA fix
This commit is contained in:
@@ -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)
|
||||
|
||||
2
hecl/extern/boo
vendored
2
hecl/extern/boo
vendored
Submodule hecl/extern/boo updated: 9a7cadce3a...12bbf540fd
Reference in New Issue
Block a user