assembly: auto solve on constraint group change
This commit is contained in:
parent
9a3fdec662
commit
1e4db01ff5
|
@ -1662,6 +1662,13 @@ class AsmConstraintGroup(AsmGroup):
|
|||
cstr.parent = self
|
||||
obj.recompute()
|
||||
|
||||
def onChanged(self,obj,prop):
|
||||
if obj.Removing or FreeCAD.isRestoring():
|
||||
return
|
||||
if prop not in _IgnoredProperties:
|
||||
System.onChanged(obj,prop)
|
||||
Assembly.autoSolve(obj,prop)
|
||||
|
||||
@staticmethod
|
||||
def make(parent,name='Constraints'):
|
||||
obj = parent.Document.addObject("App::FeaturePython",name,
|
||||
|
|
Loading…
Reference in New Issue
Block a user