mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 03:47:42 +00:00
Add PATH .blend file type
This commit is contained in:
@@ -267,6 +267,15 @@ def dataout_loop():
|
||||
bpy.data.objects.remove(join_obj)
|
||||
bpy.data.meshes.remove(join_mesh)
|
||||
|
||||
elif cmdargs[0] == 'MESHCOMPILEPATH':
|
||||
meshName = bpy.context.scene.hecl_path_obj
|
||||
if meshName not in bpy.data.objects:
|
||||
writepipestr(('mesh %s not found' % meshName).encode())
|
||||
continue
|
||||
|
||||
writepipestr(b'OK')
|
||||
hecl.path.cook(writepipebuf, bpy.data.objects[meshName])
|
||||
|
||||
elif cmdargs[0] == 'WORLDCOMPILE':
|
||||
writepipestr(b'OK')
|
||||
hecl.swld.cook(writepipebuf)
|
||||
|
||||
Reference in New Issue
Block a user