Created by: zeffii
adds the possibility to perform a state test in script nodes / exec nodes, useful when the user wants to execute bpy.ops
then you would write
import sverchok
if sverchok.core.update_system.is_postload_complete():
bpy.ops.render.render(use_viewport=True)
untested..
maybe it needs also some throttling..
import sverchok
if sverchok.core.update_system.is_postload_complete():
ng = self.id_data
with ng.throttle_update():
try:
bpy.ops.render.render(use_viewport=True)
except:
pass
nope.. also doesn't work, at least.. not here.
and also not..
import sverchok
if sverchok.core.update_system.is_postload_complete():
ng = self.id_data
with ng.throttle_update():
try:
bpy.ops.render.render(use_viewport=True)
print("rendering new image")
except:
print(" ")