[Bf-extensions-cvs] [6efbb96f] master: Rigify: Code Cleanup: Remove redundant def & file

Demeter Dzadik noreply at git.blender.org
Fri Sep 4 16:46:33 CEST 2020


Commit: 6efbb96f77024330138ab2f97e5a93d447afde23
Author: Demeter Dzadik
Date:   Fri Sep 4 16:44:37 2020 +0200
Branches: master
https://developer.blender.org/rBA6efbb96f77024330138ab2f97e5a93d447afde23

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

===================================================================

D	rigify/rigs/experimental/super_eye.py
M	rigify/utils/naming.py

===================================================================

diff --git a/rigify/rigs/experimental/super_eye.py b/rigify/rigs/experimental/super_eye.py
deleted file mode 100644
index e69de29b..00000000
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):]



More information about the Bf-extensions-cvs mailing list