Example #1
0
 def execute(self, _context):
     try:
         config = pman.get_config(os.path.dirname(bpy.data.filepath) if bpy.data.filepath else None)
         pman.build(config)
         return {'FINISHED'}
     except pman.PManException as err:
         self.report({'ERROR'}, str(err))
         return {'CANCELLED'}
Example #2
0
 def execute(self, _context):
     try:
         config = pman.get_config(
             os.path.dirname(bpy.data.filepath) if bpy.data.
             filepath else None)
         pman.build(config)
         return {'FINISHED'}
     except pman.PManException as err:
         self.report({'ERROR'}, str(err))
         return {'CANCELLED'}
Example #3
0
def build(_, config):
    pman.build(config)
Example #4
0
def test_create_renderer(projectdir):
    conf = pman.get_config()
    conf['general']['renderer'] = 'none'
    pman.build()
    pman.create_renderer(None, conf)
Example #5
0
def test_build(projectdir):
    pman.build()
Example #6
0
def build(_):
    pman.build()
Example #7
0
def test_build(projectdir):
    os.chdir(projectdir)
    pman.build()