Rigify: Code Cleanup: Remove redundant def & file

Just removes an empty file and redundant function definition. No functional changes.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D8804
This commit is contained in:
Demeter Dzadik 2020-09-04 16:44:37 +02:00 committed by Demeter Dzadik
parent 1346083086
commit 6efbb96f77
2 changed files with 1 additions and 10 deletions

View File

@ -227,15 +227,6 @@ def unique_name(collection, base_name):
return name
def org_name(name):
""" Returns the name with ORG_PREFIX stripped from it.
"""
if name.startswith(ORG_PREFIX):
return name[len(ORG_PREFIX):]
else:
return name
def strip_org(name):
""" Returns the name with ORG_PREFIX stripped from it.
"""
@ -247,7 +238,7 @@ org_name = strip_org
def strip_mch(name):
""" Returns the name with ORG_PREFIX stripped from it.
""" Returns the name with MCH_PREFIX stripped from it.
"""
if name.startswith(MCH_PREFIX):
return name[len(MCH_PREFIX):]