New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft+Arch: Fix crash related to SoBrepEdgeSet #7528
Draft+Arch: Fix crash related to SoBrepEdgeSet #7528
Conversation
I think this will have the effect of making the dimension lines not selectable anymore... |
Ooops. Thanks for testing. Looking at this: |
There may be another way to solve this though. |
Import
That's because SoBrepEdgetSet inherits from the Coin3d node |
@marioalexis84: Thanks for explaining. I'll revise my PR then. |
There are still two problems related to the use of The reason for this behavior is that the |
@marioalexis84 Thanks again! I have included the 2 Arch files you refer to. I have placed the |
I'm not a big fan of importing modules inside functions, but I think @yorikvanhavre has no problem with that. |
853f2a9
to
093368a
Compare
I agree that doing imports in the middle of functions is pretty much anti-pythonic... But at the moment it's still (for me at least) the easiest and "clearest" way (meaning: easiest to locate and change in the future) to avoid loading heavy modules like Part when it's not needed. I consider this mostly as a temporary workaround. I know there is a delayed loading module, but it seems to me to complicate the code even more... Let's merge this as we have identified and nailed the issue and "it works", and the in-function imports are another matter to solve some day... |
Forum topic:
https://forum.freecadweb.org/viewtopic.php?f=23&t=72122
App
,Base
,Gui
or one of theMod
subfolders. If you need to make changes in several locations, make several pull requests and wait for the first one to be merged before submitting the next onesgit pull --rebase upstream master
./bin/FreeCAD --run-test 0
Fixes typo in Draft Move command text
Draft: Fixed typos
issue #<id>
orfixes #<id>
where<id>
is the issue ID number from our Issues database in case a particular commit solves or is related to an existing issue. Ex:Draft: fix typos - fixes #4805