[Script] - AutoOff Simplify

Hi Folks!
I made this script for turn off simplify when hit render, and turn on when the render finish.

Save the script in the .blend folder, load in the text editor and hit “Register”, save scene and reload.


import bpy

def simplifica(dummy):
    if bpy.context.scene.render.use_simplify == False:
        bpy.context.scene.render.use_simplify = True
    else:
        bpy.context.scene.render.use_simplify =  False    
        
        
        
bpy.app.handlers.render_pre.append(simplifica)   
bpy.app.handlers.render_post.append(simplifica)    



Very simple!
Work fast!

Thanks oscurart! Nice code…Congrats!