Changeset 148 in flair-src for trunk/lib/FlairMeta/src/MetaVrpnObject.cpp


Ignore:
Timestamp:
Feb 28, 2017, 4:18:13 PM (5 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/MetaVrpnObject.cpp

    r147 r148  
    5656  }
    5757  cvmatrix *prev_value = new cvmatrix(this, desc, elementDataType, name);
    58   for (int i = 0; i < prev_value->Rows(); i++) {
    59     prev_value->SetValue(i, 0, 0);
    60   }
     58  delete desc;
    6159
    6260  pbas = new LowPassFilter(this, GetVrpnClient()->GetLayout()->NewRow(),
     
    6967  }
    7068  prev_value = new cvmatrix(this, desc, elementDataType, name);
    71   for (int i = 0; i < prev_value->Rows(); i++) {
    72     prev_value->SetValue(i, 0, 0);
    73   }
     69  delete desc;
    7470
    7571  euler = new EulerDerivative(pbas, GetVrpnClient()->GetLayout()->NewRow(),
Note: See TracChangeset for help on using the changeset viewer.