Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/b/l/blender_nif_plugin-HEAD/todo/utilities/mesh_niftools_morphcopy.py   blender_nif_plugin(Download)
    # saves editmode state and exit editmode if it is enabled
    # (cannot make changes mesh data in editmode)
    is_editmode = Window.EditMode()
    Window.EditMode(0)    
    Window.WaitCursor(1)
    Window.WaitCursor(0)
    if is_editmode:
        Window.EditMode(1)
 
if __name__ == '__main__':

src/b/l/blender_nif_plugin-HEAD/todo/utilities/mesh_niftools_weightsquash.py   blender_nif_plugin(Download)
    # saves editmode state and exit editmode if it is enabled
    # (cannot make changes mesh data in editmode)
    is_editmode = Window.EditMode()
    Window.EditMode(0)    
    Window.WaitCursor(1)
    print('%i vertices removed from groups'%num_affected)
    Window.WaitCursor(0)
    if is_editmode: Window.EditMode(1)
 
if __name__ == '__main__':

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_set_bone_priority.py   blender_nif_plugin(Download)
    # saves editmode state and exit editmode if it is enabled
    # (cannot make changes mesh data in editmode)
    is_editmode = Window.EditMode()
    Window.EditMode(0)    
    Window.WaitCursor(1)
    print('Set bone priority finished in %.2f seconds' % (sys.time()-t))
    Window.WaitCursor(0)
    if is_editmode: Window.EditMode(1)
 
if __name__ == '__main__':

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_save_bone_pose.py   blender_nif_plugin(Download)
    # saves editmode state and exit editmode if it is enabled
    # (cannot make changes mesh data in editmode)
    is_editmode = Window.EditMode()
    Window.EditMode(0)    
    Window.WaitCursor(1)
    Window.WaitCursor(0)
    if is_editmode:
        Window.EditMode(1)
 
if __name__ == '__main__':

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_load_bone_pose.py   blender_nif_plugin(Download)
    # saves editmode state and exit editmode if it is enabled
    # (cannot make changes mesh data in editmode)
    is_editmode = Window.EditMode()
    Window.EditMode(0)    
    Window.WaitCursor(1)
    Window.WaitCursor(0)
    if is_editmode:
        Window.EditMode(1)
 
if __name__ == '__main__':