Exemplo n.º 1
0
def unhide(obj: Object, viewport: bool = True, render: bool = True):
    if obj.hide_viewport and viewport:
        obj.hide_viewport = False
    if obj.hide_render and render:
        obj.hide_render = False
Exemplo n.º 2
0
def unhide(obj:Object, viewport:bool=True, render:bool=True):
    if obj.hide_viewport and viewport:
        obj.hide_viewport = False
    if obj.hide_render and render:
        obj.hide_render = False
Exemplo n.º 3
0
def hide(obj: Object, viewport: bool = True, render: bool = True):
    if not obj.hide_viewport and viewport:
        obj.hide_viewport = True
    if not obj.hide_render and render:
        obj.hide_render = True
Exemplo n.º 4
0
def hide(obj:Object, viewport:bool=True, render:bool=True):
    if not obj.hide_viewport and viewport:
        obj.hide_viewport = True
    if not obj.hide_render and render:
        obj.hide_render = True