def use_zmq(self): return SysUtils.hasZMQEnabled()
def use_zmq(self): return SysUtils.hasZMQEnabled()
import sys import subprocess import ipaddress import bpy import _vray_for_blender from vb30.lib import SysUtils from vb30 import export, debug from vb30.lib.VRayStream import VRayExportFiles from vb30.lib.VRayStream import VRayFilePaths # Check if current build support new RT exporter HAS_VB35 = SysUtils.hasRtExporter() HAS_ZMQ = SysUtils.hasZMQEnabled() if HAS_VB35: import _vray_for_blender_rt # This will hold handle to subprocess.Popen to the zmq server if # it is started in local mode, and it should be terminated on Shutdown() # class ZMQProcess: log_lvl_translate = { 'ERROR': '4', 'WARNING': '3', 'DEBUG': '2', 'INFO': '1', } _zmq_process = None
import bpy import _vray_for_blender from vb30.lib import SysUtils, PathUtils from vb30 import export, debug from vb30 import osl from vb30.plugins import PLUGINS_ID from vb30.lib.VRayStream import VRayExportFiles from vb30.lib.VRayStream import VRayFilePaths # Check if current build support new RT exporter HAS_VB35 = SysUtils.hasRtExporter() HAS_ZMQ = SysUtils.hasZMQEnabled() if HAS_VB35: import _vray_for_blender_rt # This will hold handle to subprocess.Popen to the zmq server if # it is started in local mode, and it should be terminated on Shutdown() # class ZMQProcess: log_lvl_translate = { 'ERROR': '4', 'WARNING': '3', 'DEBUG': '2', 'INFO': '1', }