[fixed] new leader lines appear outside of tree

Discussions about the development of the TechDraw workbench
User avatar
uwestoehr
Posts: 1366
Joined: Sun Jan 27, 2019 3:21 am

[fixed] new leader lines appear outside of tree

Postby uwestoehr » Mon Jan 13, 2020 10:31 pm

- open this example file:
TD-test.FCStd
test file
(137.27 KiB) Downloaded 6 times

- select the section view A-A and the insert a leader line

result: the leader line appears outside of the tree:
FreeCAD_Ix3R2Eu9Oq.png
outside of tree
FreeCAD_Ix3R2Eu9Oq.png (9.23 KiB) Viewed 230 times

- save and reopen the document

result: now everything is correct:
FreeCAD_nbTX19Itlj.png
correctly inside tree
FreeCAD_nbTX19Itlj.png (8.31 KiB) Viewed 230 times
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19263 (Git)
Build type: Release
Branch: master
Hash: c4ca00a1d5b7922ef1d2ae3e820bb34ffdb64d9f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Last edited by uwestoehr on Fri Jan 17, 2020 5:13 pm, edited 1 time in total.
chrisb
Posts: 22428
Joined: Tue Mar 17, 2015 9:14 am

Re: new leader lines appear outside of tree

Postby chrisb » Mon Jan 13, 2020 10:59 pm

Redraw is sufficient here. It shows in report view

Code: Select all

Dimension has invalid 2D References
QGIT::makeSymbol - no symbol file set
Perhaps these should be fixed before to make sure they are not connected to the issue reported.
User avatar
uwestoehr
Posts: 1366
Joined: Sun Jan 27, 2019 3:21 am

Re: new leader lines appear outside of tree

Postby uwestoehr » Mon Jan 13, 2020 11:03 pm

chrisb wrote:
Mon Jan 13, 2020 10:59 pm
Perhaps these should be fixed before to make sure they are not connected to the issue reported.
The dimension in the test file can be ignored. Here is the file without the dimension and the bug occurs nevertheless:
Attachments
TD-test.FCStd
better test file
(137.03 KiB) Downloaded 4 times
User avatar
wandererfan
Posts: 3667
Joined: Tue Nov 06, 2012 5:42 pm

Re: new leader lines appear outside of tree

Postby wandererfan » Wed Jan 15, 2020 8:48 pm

uwestoehr wrote:
Mon Jan 13, 2020 10:31 pm
result: the leader line appears outside of the tree:
Should be fixed by git commit 8b2e318f15
User avatar
uwestoehr
Posts: 1366
Joined: Sun Jan 27, 2019 3:21 am

Re: new leader lines appear outside of tree

Postby uwestoehr » Fri Jan 17, 2020 5:13 pm

wandererfan wrote:
Wed Jan 15, 2020 8:48 pm
Should be fixed by git commit 8b2e318f15
Many thanks, this is now fixed.