git-svn-id: svn://db.shs.com.ru/libs@59 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -403,7 +403,11 @@ void QGLView::renderHalo(const GLObjectBase * obj, const int iid, const QColor &
|
||||
void QGLView::renderSelection() {
|
||||
cid = 1;
|
||||
ids.clear();
|
||||
if (shaders_supported) sh_id_loc = shader_select->uniformLocation("id");
|
||||
if (shaders_supported) {
|
||||
sh_id_loc = shader_select->uniformLocation("id");
|
||||
shader_select->setUniformValue("z_far", GLfloat(depthEnd()));
|
||||
shader_select->setUniformValue("z_near", GLfloat(depthStart()));
|
||||
}
|
||||
//qDebug() << sh_id_loc;
|
||||
start_rp.view_matrix = getGLMatrix(GL_MODELVIEW_MATRIX);
|
||||
glPushMatrix();
|
||||
|
||||
Reference in New Issue
Block a user