mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
corrected bug: wrong selection when Tr matrix != identity
This commit is contained in:
parent
3862444072
commit
b7269f5d3f
@ -23,6 +23,9 @@
|
||||
/****************************************************************************
|
||||
History
|
||||
$Log$
|
||||
Revision 1.12 2008/02/28 09:57:40 cignoni
|
||||
corrected bug: wrong selection when Tr matrix != identity
|
||||
|
||||
Revision 1.11 2007/10/23 07:15:19 cignoni
|
||||
switch to selection rendering done by slot and signals
|
||||
|
||||
@ -228,11 +231,13 @@ const PluginInfo &ExtraMeshEditPlugin::Info()
|
||||
CMeshO::FaceIterator fi;
|
||||
for(fi=m.cm.face.begin();fi!=m.cm.face.end();++fi)
|
||||
if(!(*fi).IsD()) (*fi).ClearS();
|
||||
|
||||
|
||||
glPushMatrix();
|
||||
glMultMatrix(m.cm.Tr);
|
||||
GLPickTri<CMeshO>::PickFace(mid.x(), mid.y(), m.cm, NewSel, wid.x(), wid.y());
|
||||
qDebug("Pickface: rect %i %i - %i %i",mid.x(),mid.y(),wid.x(),wid.y());
|
||||
qDebug("Pickface: Got %i on %i",NewSel.size(),m.cm.face.size());
|
||||
|
||||
glPopMatrix();
|
||||
switch(selMode)
|
||||
{
|
||||
case SMSub :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user