Created utilities to purge usless data inside the Ship instance
This commit is contained in:
@@ -69,6 +69,9 @@ class TaskPanel:
|
||||
weights = ship.Weights[:]
|
||||
weights.append(obj.Name)
|
||||
ship.Weights = weights
|
||||
ship.Proxy.cleanWeights(ship)
|
||||
ship.Proxy.cleanTanks(ship)
|
||||
ship.Proxy.cleanLoadConditions(ship)
|
||||
|
||||
App.ActiveDocument.recompute()
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user