feat: ground work for dynamic replicated types

This commit is contained in:
Swann Martinez
2019-07-03 15:32:00 +02:00
parent 0d33c3eb3d
commit 6b7c87365a
3 changed files with 32 additions and 5 deletions

View File

@ -11,7 +11,7 @@ from .libs import dump_anything
# TODO: replace hardcoded values...
BPY_TYPES = {'Image':'images', 'Texture': 'textures','Material': 'materials', 'GreasePencil': 'grease_pencils', 'Curve': 'curves', 'Collection': 'collections', 'Mesh': 'meshes', 'Object': 'objects',
'Scene': 'scenes', 'Light': 'lights', 'SunLight': 'lights', 'SpotLight': 'lights', 'AreaLight': 'lights', 'PointLight': 'lights', 'Camera': 'cameras', 'Action': 'actions', 'Armature': 'armatures', 'Grease Pencil': 'grease_pencils'}
'Scene': 'scenes', 'Light': 'lights', 'SunLight': 'lights', 'SpotLight': 'lights', 'AreaLight': 'lights', 'PointLight': 'lights', 'Camera': 'cameras', 'Action': 'actions', 'Armature': 'armatures'}
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)