if self.collection:
from .datafile import Statement
with open(os.path.join(path, base+".mdc"), "w") as out_file:
if self.collection:
from .datafile import Statement
with open(os.path.join(path, base+".mdc"), "w") as out_file:
st = Statement("animation", r.name)
st.sub = r.statements
st.write_to_file(out_file)
st = Statement("animation", r.name)
st.sub = r.statements
st.write_to_file(out_file)
def export_animation(self, context, action):
from .animation import create_animation_from_action
def export_animation(self, context, action):
from .animation import create_animation_from_action
from .datafile import Resource, Statement
resource = Resource(action.name+".anim")
from .datafile import Resource, Statement
resource = Resource(action.name+".anim")