-
Notifications
You must be signed in to change notification settings - Fork 9
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
issue #47 change geometry type #88
issue #47 change geometry type #88
Conversation
…ing; gross debug statements still in there
Thanks for the PR. Can you describe your approach a bit? There is quite some duplicated code introduced in |
Sure. This was a bit of a two-step approach. The first step was changing the geometry type in the property widget and populate the widget with the appropriate attributes i.e. radius for sphere, etc. The second step was to make sure the model then pointed to the proper geometry object. When the I do see these connections up to I didn't want to change the structure too much from it's current form and that's why you see a separate signal for each visual geometry and collision geometry, but another approach could be handled in one slot in |
I've gone back and done some testing to see if I can find a cleaner solution and I believe that your suggestion of refactoring from Would this be acceptable? If we find this new implementation acceptable - what is the process? Does this PR get rejected and I create a new one or do I simply commit and push to the forked traclabs:feature/issue47-merged which this PR is based off of? |
You can just push to the same branch. This will update the PR accordingly. I'm having a bit of a hard time understanding what you're doing now exactly from your description, but I'll take a look if you can push your updates. Thanks for revisiting it 👍. |
…el changes handled at link_property
@smgee: I ended up merging your implementation instead of the one in #96: yours was the first one and it is working nicely. Thanks for taking a second shot at implementing it, appreciated. I squashed the two sets of changes in this PR into two commits to preserve the fact that you first tried a different approach. I didn't think all the fixup commits were really important to keep around, but other than that it's all merged. I've just pushed the Milestone 1 merge candidate that includes this PR, see m1_merge_candidate (diff here). It contains all changes proposed in this PR (plus some additional ones), so once |
Could I ask you to verify that the merge candidate works as expected for you? |
Now part of m1_merge_candidate_v2, so closing this. |
Addresses issue #47 - user can change the geometry type and geometry properties for a link's visual and collision property.