Ejemplo n.º 1
0
 def execute(self, context):
     if state.playproc != None:
         make.stop_project()
     if bpy.data.worlds['Arm'].arm_play_runtime != 'Krom':
         bpy.data.worlds['Arm'].arm_play_runtime = 'Krom'
     self.report({"ERROR"}, "Animation capture not yet supported")
     return {"CANCELLED"}
Ejemplo n.º 2
0
    def execute(self, context):
        if not arm.utils.check_saved(self):
            return {"CANCELLED"}

        if not arm.utils.check_sdkpath(self):
            return {"CANCELLED"}

        if not arm.utils.check_engine(self):
            return {"CANCELLED"}

        make_renderer.check_default()

        if state.playproc != None:
            make.stop_project()
        if bpy.data.worlds['Arm'].arm_play_runtime != 'Krom':
            bpy.data.worlds['Arm'].arm_play_runtime = 'Krom'
        rpdat = arm.utils.get_rp()
        if rpdat.rp_rendercapture == False:
            rpdat.rp_rendercapture = True
        if rpdat.rp_antialiasing != 'TAA':
            rpdat.rp_antialiasing = 'TAA'
        assets.invalidate_enabled = False
        make.get_render_result()
        assets.invalidate_enabled = True
        return {'FINISHED'}
Ejemplo n.º 3
0
 def execute(self, context):
     make.stop_project()
     return {'FINISHED'}