Add auto recompute command
This commit is contained in:
parent
da2b81312b
commit
c263aaa94e
1198
Gui/Resources/icons/Assembly_AutoRecompute.svg
Normal file
1198
Gui/Resources/icons/Assembly_AutoRecompute.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 41 KiB |
|
@ -785,7 +785,8 @@ class AsmConstraint(AsmGroup):
|
|||
for e in selection.Elements:
|
||||
AsmElementLink.make(AsmElementLink.MakeInfo(cstr,*e))
|
||||
cstr.Proxy._initializing = False
|
||||
cstr.recompute()
|
||||
if cstr.recompute() and asm3.gui.AsmCmdManager.AutoRecompute:
|
||||
asm3.solver.solve(cstr.Proxy.getAssembly().Object)
|
||||
return cstr
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user