-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add: ability to add/remove several coordinate systems #401
Add: ability to add/remove several coordinate systems #401
Conversation
This was a requested feature on the mailing list
* \param[in] viewport the view port where the 3D axes should be added (default: all) | ||
*/ | ||
void | ||
addCoordinateSystem (double scale = 1.0, int viewport = 0); | ||
addCoordinateSystem (double scale = 1.0, const std::string& id = "reference", int viewport = 0); |
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.
Instead of breaking the API, we should add a new method with addCoordinateSystemWithReference or something.
@rbrusu, |
:) It does break the API Nizar, because if I had a call like |
I just forgot to add the other functions redirection on the PR. |
@rbrusu updated all occurrences and set previous version to deprecated |
@rbrusu is it ok now ? |
Add: ability to add/remove several coordinate systems
This was a requested feature and bug fix on the mailing list since one could add several coordinate systems but remove only the last one.
I made it such as coordinate systems get a string id same way as for other shapes.