Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemeter Dzadik <Mets>2020-09-04 17:44:37 +0300
committerDemeter Dzadik <demeter@blender.studio>2020-09-04 17:45:32 +0300
commit6efbb96f77024330138ab2f97e5a93d447afde23 (patch)
treede418dadef55e96b574f38898604b7abac7b75e7 /rigify/utils/naming.py
parent1346083086ab89851b2aa8d8568b643804f9cb34 (diff)
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
Diffstat (limited to 'rigify/utils/naming.py')
-rw-r--r--rigify/utils/naming.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/rigify/utils/naming.py b/rigify/utils/naming.py
index 17d7496c..0339e523 100644
--- a/rigify/utils/naming.py
+++ b/rigify/utils/naming.py
@@ -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):]