def poll(cls, context): scene= context.scene rd= scene.render if not hasattr(scene.vray, ID): return False use= scene.vray.RTEngine.enabled return (use and ui.engine_poll(__class__, context))
def poll(cls, context): scene = context.scene rd = scene.render if not hasattr(scene.vray, ID): return False show = scene.vray.SettingsCaustics.on return (show and ui.engine_poll(__class__, context))
def poll(cls, context): scene= context.scene rd= scene.render if not hasattr(scene.vray, ID): return False show= scene.vray.SettingsCaustics.on return (show and ui.engine_poll(__class__, context))
def poll(cls, context): scene = context.scene rd = scene.render if not hasattr(scene.vray, ID): return False use = scene.vray.RTEngine.enabled return (use and ui.engine_poll(__class__, context))
def poll(cls, context): tex = context.texture if not tex: return False VRayTexture = tex.vray engine = context.scene.render.engine return ((tex and tex.type == 'VRAY' and VRayTexture.type == ID) and (ui.engine_poll(__class__, context)))
def poll(cls, context): tex = context.texture if not tex: return False VRayTexture = tex.vray engine = context.scene.render.engine return ((tex and tex.type == 'VRAY' and VRayTexture.type == ID) and (ui.engine_poll(__class__, context)))
def poll(cls, context): if not ui.engine_poll(cls, context): return False tex = context.texture if not tex: return False if tex.type == 'VRAY': if tex.vray.type != 'NONE' and tex.vray.type not in PURE_PROCEDURAL: return True if tex.type == 'IMAGE': if tex.image: return True return False
def poll(cls, context): tex = context.texture return tex and tex.type == 'VRAY' and tex.vray.type == ID and ui.engine_poll( cls, context)
def poll(cls, context): tex= context.texture return tex and tex.type == 'VRAY' and tex.vray.type == ID and ui.engine_poll(cls, context)