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

Code Cleanup

parent 2062d0f2
No related branches found
Tags
No related merge requests found
......@@ -61,7 +61,6 @@ def OscFuncExportPc2(self):
end = bpy.context.scene.muu_pc2_end
folderpath = bpy.context.scene.muu_pc2_folder
for ob in bpy.data.groups[bpy.context.scene.muu_pc2_group].objects[:]:
pc2list = []
if ob.type == "MESH":
......@@ -180,7 +179,6 @@ def OscLinkedGroupToLocal():
if MODIFIER.type == "SUBSURF" or MODIFIER.type == "MASK":
ob.modifiers.remove(MODIFIER)
class OscGroupLinkedToLocal(bpy.types.Operator):
bl_idname = "group.linked_group_to_local"
bl_label = "Group Linked To Local"
......@@ -191,7 +189,6 @@ class OscGroupLinkedToLocal(bpy.types.Operator):
OscLinkedGroupToLocal()
return {'FINISHED'}
def register():
bpy.utils.register_module(__name__)
......@@ -200,7 +197,3 @@ def unregister():
if __name__ == "__main__":
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