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

fix colors in 3dSDPViewer #272

Merged
merged 1 commit into from
Jun 23, 2016

Conversation

kerautret
Copy link
Member

@kerautret kerautret commented Jun 9, 2016

PR Description

The mesh display was always displayed in white instead their original colors.

Checklist

  • New entry in the ChangeLog.md added.
  • No warning raised in Debug cmake mode (otherwise, Travis C.I. will fail).

@@ -428,19 +428,16 @@ int main( int argc, char** argv )
}
if(vm.count("addMesh"))
{
DGtal::Color meshColor = DGtal::Color::White;
if(vm.count("customColorMesh")){
bool customColorMesh = vm.count("customColorMesh");
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe "useCustomColorMesh" ?

Copy link
Member Author

Choose a reason for hiding this comment

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

for my part I prefer shorter, but in fact we have the same in other tools I think, perhaps we could change it globaly if needed ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

It was just for the boolean in code, not for the option name.
This could be easier to understand for external peoples.

@akrah
Copy link
Contributor

akrah commented Jun 23, 2016

Good fix, thanks !

@kerautret
Copy link
Member Author

so merging ;)

@kerautret kerautret merged commit ca5ca79 into DGtal-team:master Jun 23, 2016
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.

2 participants