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