|
|
@ -102,6 +102,9 @@ class RasterView: |
|
|
|
if part.TypeId == 'App::Link': |
|
|
|
if part.TypeId == 'App::Link': |
|
|
|
link.LinkedObject = part.LinkedObject |
|
|
|
link.LinkedObject = part.LinkedObject |
|
|
|
link.Placement = part.Placement |
|
|
|
link.Placement = part.Placement |
|
|
|
|
|
|
|
elif part.TypeId == 'Part::FeaturePython' and hasattr(part, 'LinkedObject'): # variant link |
|
|
|
|
|
|
|
link.LinkedObject = part.LinkedObject |
|
|
|
|
|
|
|
link.Placement = part.Placement |
|
|
|
else: |
|
|
|
else: |
|
|
|
link.LinkedObject = part |
|
|
|
link.LinkedObject = part |
|
|
|
|
|
|
|
|
|
|
|