Skip to content
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

Make it possible to enter target coordinates to move a point #8755

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

MaelRL
Copy link
Member

@MaelRL MaelRL commented Feb 25, 2025

Summary of Changes

Modifying coordinates in the files and reloading is painful, so this PR adds a way to specify new coordinates from the selection item:

Screencast.From.2025-02-26.00-10-02.mp4

Release Management

  • Affected package(s): Lab
  • Issue(s) solved (if any): -
  • Feature/Small Feature (if any): -
  • License and copyright ownership: no change

@@ -1838,7 +1838,7 @@ void Viewer::setLighting()
if (list.size()!=3){
QMessageBox *msgBox = new QMessageBox;
msgBox->setWindowTitle("Error");
msgBox->setText("ERROR : Input should consists of 3 floats.");
msgBox->setText("ERROR : Input should consist of 3 floats.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "floats" wouldn't it be better to use "floating point numbers"

@@ -69,7 +69,7 @@ public slots:
if (list.size()!=4){
QMessageBox *msgBox = new QMessageBox;
msgBox->setWindowTitle("Error");
msgBox->setText("ERROR : Input should consists of 4 doubles: The radius first, then the coordinates of the center.");
msgBox->setText("ERROR : Input should consist of 4 doubles: The radius first, then the coordinates of the center.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "doubles" wouldn't it be better to use "floating point numbers"

@sloriot
Copy link
Member

sloriot commented Mar 7, 2025

Successfully tested in CGAL-6.1-Ic-104

@sloriot sloriot merged commit ee6bedd into CGAL:master Mar 7, 2025
8 checks passed
@lrineau lrineau deleted the Lab-Add_move_to_coordinates-GF branch March 10, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants