Browse Source

fixed bug when rasterizing variant links

pull/2/head
Youen 2 years ago
parent
commit
95034aa0bc
  1. 3
      ahb_raster_view.py

3
ahb_raster_view.py

@ -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…
Cancel
Save