[TD]fix hatch test script
- test was erroneously adding hatch to page. Hatches only belong to DrawViewPart.
This commit is contained in:
@@ -50,8 +50,6 @@ class DrawHatchTest(unittest.TestCase):
|
||||
hatch.HatchPattern = (
|
||||
hatchFileSpec
|
||||
)
|
||||
print("adding hatch to page")
|
||||
self.page.addView(hatch)
|
||||
print("finished hatch")
|
||||
FreeCAD.ActiveDocument.recompute()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user