Fix #29 Lattice2 not working in FC v0.18.1
This commit is contained in:
parent
abb2e516b1
commit
69274f991d
|
@ -407,8 +407,14 @@ exportedCommands = [
|
|||
"Lattice2_RecomputeLocker_ForceRecompute",
|
||||
"Lattice2_RecomputeLocker_Touch"
|
||||
]
|
||||
if int(App.Version()[1]) >= 17:
|
||||
try:
|
||||
if float(App.Version()[1]) >= 17.0:
|
||||
exportedCommands.remove("Lattice2_RecomputeLocker_MakeFeature")
|
||||
except Exception as err:
|
||||
App.Console.PrintWarning("Failed to parse version string: {v}".format(v= App.Version()[1]))
|
||||
#assume modern
|
||||
exportedCommands.remove("Lattice2_RecomputeLocker_MakeFeature")
|
||||
|
||||
|
||||
class CommandRecomputeGroup:
|
||||
def GetCommands(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user