Skip to content
Snippets Groups Projects
Commit 12720e90 authored by Oscurart Eugenio Pignataro's avatar Oscurart Eugenio Pignataro
Browse files

Code Cleanup

parent 2062d0f2
Branches
No related tags found
No related merge requests found
...@@ -61,7 +61,6 @@ def OscFuncExportPc2(self): ...@@ -61,7 +61,6 @@ def OscFuncExportPc2(self):
end = bpy.context.scene.muu_pc2_end end = bpy.context.scene.muu_pc2_end
folderpath = bpy.context.scene.muu_pc2_folder folderpath = bpy.context.scene.muu_pc2_folder
for ob in bpy.data.groups[bpy.context.scene.muu_pc2_group].objects[:]: for ob in bpy.data.groups[bpy.context.scene.muu_pc2_group].objects[:]:
pc2list = [] pc2list = []
if ob.type == "MESH": if ob.type == "MESH":
...@@ -180,7 +179,6 @@ def OscLinkedGroupToLocal(): ...@@ -180,7 +179,6 @@ def OscLinkedGroupToLocal():
if MODIFIER.type == "SUBSURF" or MODIFIER.type == "MASK": if MODIFIER.type == "SUBSURF" or MODIFIER.type == "MASK":
ob.modifiers.remove(MODIFIER) ob.modifiers.remove(MODIFIER)
class OscGroupLinkedToLocal(bpy.types.Operator): class OscGroupLinkedToLocal(bpy.types.Operator):
bl_idname = "group.linked_group_to_local" bl_idname = "group.linked_group_to_local"
bl_label = "Group Linked To Local" bl_label = "Group Linked To Local"
...@@ -191,7 +189,6 @@ class OscGroupLinkedToLocal(bpy.types.Operator): ...@@ -191,7 +189,6 @@ class OscGroupLinkedToLocal(bpy.types.Operator):
OscLinkedGroupToLocal() OscLinkedGroupToLocal()
return {'FINISHED'} return {'FINISHED'}
def register(): def register():
bpy.utils.register_module(__name__) bpy.utils.register_module(__name__)
...@@ -200,7 +197,3 @@ def unregister(): ...@@ -200,7 +197,3 @@ def unregister():
if __name__ == "__main__": if __name__ == "__main__":
register() register()
\ No newline at end of file
import bpy
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment