change shader properties to be vg_msg based
[carveJwlIkooP6JGAAIwe30JlM.git] / skaterift_blender / __init__.py
1 import os
2
3 out = open( F'{os.path.dirname(__file__)}/_combined.py', 'w' )
4
5 def _include( file ):
6 #{
7 path = F'{os.path.dirname(__file__)}/{file}'
8
9 src = open( path, "r" )
10 out.write( F'\n# #include "{file}"\n\n' )
11 out.write( src.read() )
12 src.close()
13 #}
14
15 _include( "sr_main.py" )
16 _include( "sr_so.py" )
17 _include( "sr_shader.py" )
18 _include( "sr_mat.py" )
19
20 out.close()
21
22 from ._combined import *
23 import importlib
24 if 'bpy' in locals(): importlib.reload( _combined )