LatticePlacement: Fix creation of single placements
Situation where proxy.execute doesn't seem to be equivalent to recompute
This commit is contained in:
parent
345171a46c
commit
fcf1c72956
|
@ -131,7 +131,9 @@ class LatticeFeature():
|
|||
obj.Shape = markers.getNullShapeShape(markerSize)
|
||||
raise ValueError('Lattice object is null') #Feeding empty compounds to FreeCAD seems to cause rendering issues, otherwise it would have been a good idea to output nothing.
|
||||
|
||||
obj.Shape = Part.makeCompound(shapes)
|
||||
sh = Part.makeCompound(shapes)
|
||||
sh.Placement = obj.Placement #Fix single placement behaving badly
|
||||
obj.Shape = sh
|
||||
|
||||
if obj.isLattice == 'Auto-Off':
|
||||
obj.isLattice = 'Auto-On'
|
||||
|
|
Loading…
Reference in New Issue
Block a user