You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required until ITK 5.1 RC 2 is released.
Diff:
diff --git a/Wrapping/Generators/SwigInterface/igenerator.py b/Wrapping/Generators/SwigInterface/igenerator.py
index ff7eb90b24..35de55eae8 100755
--- a/Wrapping/Generators/SwigInterface/igenerator.py
+++ b/Wrapping/Generators/SwigInterface/igenerator.py
@@ -855,6 +855,8 @@ class SwigInputGenerator(object):
# search the files to import
usedSources = set()
for alias in self.usedTypes:
+ if alias.rfind("Enums::") != -1:
+ alias = alias[:alias.rfind("Enums::")+5]
if alias in self.typedefSource:
idxName = os.path.basename(self.typedefSource[alias])
iName = idxName[:-len(".idx")]
0 commit comments