Skip to content

Commit

Permalink
Little fix after Pavel review
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Nakoryakov committed Aug 25, 2015
1 parent bcb43b7 commit 5cde93d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Bargool_1D_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "",
"author": "Aleksey Nakoryakov, Paul Kotelevets aka 1D_Inc (concept design)",
"category": "Object",
"version": (1, 4, 0),
"version": (1, 4, 1),
"location": "View3D > Toolbar",
"wiki_url": "https://github.com/bargool/Bargool_1D_tools",
"tracker_url": "https://github.com/bargool/Bargool_1D_tools/issues",
Expand Down
8 changes: 4 additions & 4 deletions Bargool_1D_tools/naming.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class ObnameToMeshnameOperator(bpy.types.Operator):
bl_options = {'REGISTER', 'UNDO'}

def execute(self, context):
obj = context.active_object
obj.data.name = obj.name
for obj in context.selected_objects:
obj.data.name = obj.name
return {'FINISHED'}


Expand All @@ -20,8 +20,8 @@ class MeshnameToObnameOperator(bpy.types.Operator):
bl_options = {'REGISTER', 'UNDO'}

def execute(self, context):
obj = context.active_object
obj.name = obj.data.name
for obj in context.selected_objects:
obj.name = obj.data.name
return {'FINISHED'}


Expand Down

0 comments on commit 5cde93d

Please sign in to comment.