Skip to content

Conversation

oskotheim
Copy link

The std::fill_n command appears to have no effect in VS2012 Release Mode (perhaps it gets optimized away?)
This caused a crash in pcl_viewer and other examples based on pcl_visualization on Windows with VS2012 due to cells with an arbitrary number of points.

…2 Release Mode.

The std::fill_n command appears to have no effect in VS2012 Release Mode.
This caused a crash in pcl_viewer and other examples based on pcl_visualization on Windows with VS2012.
@rbrusu
Copy link
Member

rbrusu commented Sep 16, 2013

Awesome fix, thanks oskotheim !

rbrusu added a commit that referenced this pull request Sep 16, 2013
Replaced std::fill_n. This command does not work as intended in VS2012 Release Mode
@rbrusu rbrusu merged commit 9d27bcf into PointCloudLibrary:master Sep 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants