MapArea and MapUniverse blend types added

This commit is contained in:
Jack Andersen 2015-10-24 14:35:19 -10:00
parent 9892d2176c
commit 7ccec951e3
6 changed files with 16 additions and 4 deletions

View File

@ -373,6 +373,8 @@ static const char* BlendTypeStrs[] =
"ACTOR",
"AREA",
"WORLD",
"MAPAREA",
"MAPUNIVERSE",
nullptr
};

View File

@ -38,7 +38,9 @@ public:
TypeMesh,
TypeActor,
TypeArea,
TypeWorld
TypeWorld,
TypeMapArea,
TypeMapUniverse
};
private:
bool m_lock = false;

View File

@ -9,7 +9,9 @@ list(APPEND PY_SOURCES
hecl/sact/SACTAction.py
hecl/sact/SACTSubtype.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)

View File

@ -9,7 +9,7 @@ bl_info = {
"category": "System"}
# Package import
from . import hmdl, sact, srea, swld, Nodegrid, Patching
from . import hmdl, sact, srea, swld, mapa, mapu, Nodegrid, Patching
Nodegrid = Nodegrid.Nodegrid
import bpy, os, sys
from bpy.app.handlers import persistent
@ -21,7 +21,9 @@ hecl_typeS = [
('MESH', "Mesh", "Active scene represents an HMDL Mesh", hmdl.draw),
('ACTOR', "Actor", "Active scene represents a HECL Actor", sact.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
class hecl_scene_panel(bpy.types.Panel):

View File

@ -0,0 +1,2 @@
def draw(layout, context):
pass

View File

@ -0,0 +1,2 @@
def draw(layout, context):
pass