[Bf-extensions-cvs] [b5328b13] blender2.8: Fix incorrect always-register call in mesh_uv_layout add-on.

Bastien Montagne noreply at git.blender.org
Wed Sep 19 16:12:49 CEST 2018


Commit: b5328b13c54bdd3419d48373e3f54f22e2501396
Author: Bastien Montagne
Date:   Wed Sep 19 16:12:16 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBAb5328b13c54bdd3419d48373e3f54f22e2501396

Fix incorrect always-register call in mesh_uv_layout add-on.

===================================================================

M	io_mesh_uv_layout/__init__.py

===================================================================

diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index 7256bbef..4f801a41 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -310,5 +310,5 @@ def unregister():
     bpy.types.IMAGE_MT_uvs.remove(menu_func)
 
 
-if __name__ == 'io_mesh_uv_layout':
+if __name__ == "__main__":
     register()



More information about the Bf-extensions-cvs mailing list