forked from youen/assembly_handbook
fixed bug when rasterizing variant links
This commit is contained in:
parent
f9d58c66fc
commit
95034aa0bc
@ -102,6 +102,9 @@ class RasterView:
|
||||
if part.TypeId == 'App::Link':
|
||||
link.LinkedObject = part.LinkedObject
|
||||
link.Placement = part.Placement
|
||||
elif part.TypeId == 'Part::FeaturePython' and hasattr(part, 'LinkedObject'): # variant link
|
||||
link.LinkedObject = part.LinkedObject
|
||||
link.Placement = part.Placement
|
||||
else:
|
||||
link.LinkedObject = part
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user