mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-10-04 21:19:39 +00:00
MapArea and MapUniverse blend types added
This commit is contained in:
parent
9892d2176c
commit
7ccec951e3
@ -373,6 +373,8 @@ static const char* BlendTypeStrs[] =
|
|||||||
"ACTOR",
|
"ACTOR",
|
||||||
"AREA",
|
"AREA",
|
||||||
"WORLD",
|
"WORLD",
|
||||||
|
"MAPAREA",
|
||||||
|
"MAPUNIVERSE",
|
||||||
nullptr
|
nullptr
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,7 +38,9 @@ public:
|
|||||||
TypeMesh,
|
TypeMesh,
|
||||||
TypeActor,
|
TypeActor,
|
||||||
TypeArea,
|
TypeArea,
|
||||||
TypeWorld
|
TypeWorld,
|
||||||
|
TypeMapArea,
|
||||||
|
TypeMapUniverse
|
||||||
};
|
};
|
||||||
private:
|
private:
|
||||||
bool m_lock = false;
|
bool m_lock = false;
|
||||||
|
@ -9,7 +9,9 @@ list(APPEND PY_SOURCES
|
|||||||
hecl/sact/SACTAction.py
|
hecl/sact/SACTAction.py
|
||||||
hecl/sact/SACTSubtype.py
|
hecl/sact/SACTSubtype.py
|
||||||
hecl/srea/__init__.py
|
hecl/srea/__init__.py
|
||||||
hecl/swld/__init__.py)
|
hecl/swld/__init__.py
|
||||||
|
hecl/mapa.py
|
||||||
|
hecl/mapu.py)
|
||||||
|
|
||||||
bintoc(hecl_blendershell.c hecl_blendershell.py HECL_BLENDERSHELL)
|
bintoc(hecl_blendershell.c hecl_blendershell.py HECL_BLENDERSHELL)
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ bl_info = {
|
|||||||
"category": "System"}
|
"category": "System"}
|
||||||
|
|
||||||
# Package import
|
# Package import
|
||||||
from . import hmdl, sact, srea, swld, Nodegrid, Patching
|
from . import hmdl, sact, srea, swld, mapa, mapu, Nodegrid, Patching
|
||||||
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
|
||||||
@ -21,7 +21,9 @@ hecl_typeS = [
|
|||||||
('MESH', "Mesh", "Active scene represents an HMDL Mesh", hmdl.draw),
|
('MESH', "Mesh", "Active scene represents an HMDL Mesh", hmdl.draw),
|
||||||
('ACTOR', "Actor", "Active scene represents a HECL Actor", sact.draw),
|
('ACTOR', "Actor", "Active scene represents a HECL Actor", sact.draw),
|
||||||
('AREA', "Area", "Active scene represents a HECL Area", srea.draw),
|
('AREA', "Area", "Active scene represents a HECL Area", srea.draw),
|
||||||
('WORLD', "World", "Active scene represents a HECL World", swld.draw)]
|
('WORLD', "World", "Active scene represents a HECL World", swld.draw),
|
||||||
|
('MAPAREA', "Map Area", "Active scene represents a HECL Map Area", mapa.draw),
|
||||||
|
('MAPUNIVERSE', "Map Universe", "Active scene represents a HECL Map Universe", mapu.draw)]
|
||||||
|
|
||||||
# Main Scene Panel
|
# Main Scene Panel
|
||||||
class hecl_scene_panel(bpy.types.Panel):
|
class hecl_scene_panel(bpy.types.Panel):
|
||||||
|
2
hecl/blender/hecl/mapa.py
Normal file
2
hecl/blender/hecl/mapa.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def draw(layout, context):
|
||||||
|
pass
|
2
hecl/blender/hecl/mapu.py
Normal file
2
hecl/blender/hecl/mapu.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def draw(layout, context):
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user