mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-16 09:34:36 +00:00
- Qtime init was missing
This commit is contained in:
parent
34b8034f23
commit
2c4d2c600c
@ -279,7 +279,7 @@ void MeshDocument::updateRenderStateMeshes(const QList<int>& mm,const int meshup
|
||||
|
||||
void MeshDocument::updateRenderStateRasters(const QList<int>& rm,const int rasterupdatemask)
|
||||
{
|
||||
static QTime currTime;
|
||||
static QTime currTime = QTime::currentTime();
|
||||
if(currTime.elapsed()< 100)
|
||||
return;
|
||||
for (QList<int>::const_iterator rit = rm.begin();rit != rm.end();++rit)
|
||||
@ -295,7 +295,7 @@ void MeshDocument::updateRenderStateRasters(const QList<int>& rm,const int raste
|
||||
|
||||
void MeshDocument::updateRenderState(const QList<int>& mm,const int meshupdatemask,const QList<int>& rm,const int rasterupdatemask)
|
||||
{
|
||||
static QTime currTime;
|
||||
static QTime currTime = QTime::currentTime();
|
||||
if(currTime.elapsed()< 100)
|
||||
return;
|
||||
for (QList<int>::const_iterator mit = mm.begin();mit != mm.end();++mit)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user