mirror of https://github.com/AxioDL/metaforce.git
Initial area support for HECL
This commit is contained in:
parent
c853403dad
commit
3a9d621b53
|
@ -9,7 +9,8 @@ list(APPEND PY_SOURCES
|
||||||
hecl/sact/__init__.py
|
hecl/sact/__init__.py
|
||||||
hecl/sact/SACTAction.py
|
hecl/sact/SACTAction.py
|
||||||
hecl/sact/SACTEvent.py
|
hecl/sact/SACTEvent.py
|
||||||
hecl/sact/SACTSubtype.py)
|
hecl/sact/SACTSubtype.py
|
||||||
|
hecl/srea/__init__.py)
|
||||||
|
|
||||||
bintoc(hecl_blendershell.c hecl_blendershell.py HECL_BLENDERSHELL)
|
bintoc(hecl_blendershell.c hecl_blendershell.py HECL_BLENDERSHELL)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ bl_info = {
|
||||||
"category": "System"}
|
"category": "System"}
|
||||||
|
|
||||||
# Package import
|
# Package import
|
||||||
from . import hmdl, sact, Nodegrid
|
from . import hmdl, sact, srea, Nodegrid
|
||||||
Nodegrid = Nodegrid.Nodegrid
|
Nodegrid = Nodegrid.Nodegrid
|
||||||
import bpy, os, sys
|
import bpy, os, sys
|
||||||
from bpy.app.handlers import persistent
|
from bpy.app.handlers import persistent
|
||||||
|
@ -22,7 +22,8 @@ from bpy.app.handlers import persistent
|
||||||
hecl_typeS = [
|
hecl_typeS = [
|
||||||
('NONE', "None", "Active scene not using HECL", None, None),
|
('NONE', "None", "Active scene not using HECL", None, None),
|
||||||
('MESH', "Mesh", "Active scene represents an HMDL Mesh", hmdl.draw, hmdl.cook),
|
('MESH', "Mesh", "Active scene represents an HMDL Mesh", hmdl.draw, hmdl.cook),
|
||||||
('ACTOR', "Actor", "Active scene represents a HECL Actor", sact.draw, sact.cook)]
|
('ACTOR', "Actor", "Active scene represents a HECL Actor", sact.draw, sact.cook),
|
||||||
|
('AREA', "Area", "Active scene represents a HECL Area", srea.draw, srea.cook)]
|
||||||
|
|
||||||
# Main Scene Panel
|
# Main Scene Panel
|
||||||
class hecl_scene_panel(bpy.types.Panel):
|
class hecl_scene_panel(bpy.types.Panel):
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Cook
|
||||||
|
def cook(writebuffunc, platform, endianchar):
|
||||||
|
print('COOKING SREA')
|
||||||
|
|
||||||
|
# Panel draw
|
||||||
|
def draw(layout, context):
|
||||||
|
pass
|
Loading…
Reference in New Issue