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
[ArchWall] Do not copy shape #5222
Conversation
Shape.copy() will break OCCT internal shape sharing causing unnecessary memory inflation.
Why are there old commits mixed in e.g. that one on 2.1.2021 !? Totally confused myself! See if anyone can help? Thanks |
Did you have an old stash that accidentally got added? Anyway, you should be able to remove them with an interactive rebase and force push. Or we can just cherry-pick that last commit and ignore the other three. |
ArchSketchObject.py
Outdated
#*************************************************************************** | ||
#* * | ||
#* Copyright (c) 2018 - 2020 * | ||
#* Paul Lee <paullee0@gmail.com> * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge L4 in to L3 like so:
#* Copyright (c) 2018-2020 Paul Lee <paullee0@gmail.com> *
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Thanks ! Basically, every time I make reference to this post to do git, and know almost nothing more :- I should have screwed up the local copy few weeks before during last PR. Then, I remove the whole FC folders and start over :-
Not sure how I can delete the first 3 commits here...? Thanks again ! |
Is my understanding correct, that the only commit here that actually matters is f620489? |
Trying to follow to fix :
Sorry for the confusion |
I think at this point it's best to stop trying to fix this PR: I've successfully cherry-picked the changes to ArchWall.py in f620489 (3 lines of code -- cherry-picking is where I pull out just the individual commit, and ignore the other stuff). Is there more that's supposed to be done? I seem to remember at some point there were more like 6-10 lines. |
I pushed that one commit, anyway, it's now: ea25f69 If that's all that needed to go in, you can close this PR. If there's more, it might actually be easier for you to still close this one, delete your old branch, update your local copy, and make a new branch for it. |
Thanks! That's it ! Sorry for disturbing everyone. Would follow to fix my local copy. |
Discussions-
https://forum.freecadweb.org/viewtopic.php?style=1&t=62968&p=540585 realthunder/FreeCAD@2348994
realthunder@2348994
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, we ask you to conform to the following items. Pull requests which don't satisfy all the items below might be rejected. If you are in doubt with any of the items below, don't hesitate to ask for help in the FreeCAD forum!
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 FreeCAD bug tracker issue number in case a particular commit solves or is related to an existing issue on the tracker. Ex:Draft: fix typos - fixes #0004805
And please remember to update the Wiki with the features added or changed once this PR is merged.
Note: If you don't have wiki access, then please mention your contribution on the 0.20 Changelog Forum Thread.