Removed unnecessary edit mode switch as per comment -
https://github.com/neomonkeus/blender_nif_plugin/commit/4ba3f366f0ceb8b1782e8a9ab06562874e4d129e#commitcomment-3355220