src/gl/partrenderer.cpp

changeset 119
24275a4064f4
parent 112
5760cbb32bc0
child 120
8c9fff699241
--- a/src/gl/partrenderer.cpp	Tue Jul 27 16:29:00 2021 +0300
+++ b/src/gl/partrenderer.cpp	Wed Jul 28 08:23:09 2021 +0300
@@ -178,6 +178,11 @@
 		this->setFragmentStyle(gl::FragmentStyle::Id);
 		this->renderAllArrays();
 		break;
+	case gl::RenderStyle::VertexPickScene:
+		glLineWidth(1.0f);
+		this->setFragmentStyle(gl::FragmentStyle::Black);
+		this->renderAllArrays();
+		break;
 	case gl::RenderStyle::Wireframe:
 		glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
 		this->setFragmentStyle(gl::FragmentStyle::Normal);

mercurial