コード例 #1
0
def operator_exists(idname):
    try:
        from bpy.ops import op_as_string
        op_as_string(idname)
        return True
    except:
        return False
コード例 #2
0
def operator_exists(idname):
    try:
        from bpy.ops import op_as_string
        op_as_string(idname)
        return True
    except:
        return False
コード例 #3
0
def operator_exists(idname):
    '''simple function that returns if an operator exists
    thanks people on blenderartists'''

    try:
        op_as_string(idname)
        return True
    except:
        return False
コード例 #4
0
def operator_exists(idname):
    '''simple function that returns if an operator exists
    thanks people on blenderartists'''

    try:
        op_as_string(idname)
        return True
    except:
        return False
コード例 #5
0
ファイル: utils.py プロジェクト: varkenvarken/ToolPlus
def operator_exists(idname):
    try:
        op_as_string(idname)
        return True
    except:
        return False