[Sketcher] set debug as cross platform
This commit is contained in:
@@ -1281,7 +1281,7 @@ void ViewProviderSketch::moveConstraint(int constNum, const Base::Vector2d &toPo
|
||||
const std::vector<Sketcher::Constraint *> &constrlist = getSketchObject()->Constraints.getValues();
|
||||
Constraint *Constr = constrlist[constNum];
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef FC_DEBUG
|
||||
int intGeoCount = getSketchObject()->getHighestCurveIndex() + 1;
|
||||
int extGeoCount = getSketchObject()->getExternalGeometryCount();
|
||||
#endif
|
||||
@@ -1289,7 +1289,7 @@ void ViewProviderSketch::moveConstraint(int constNum, const Base::Vector2d &toPo
|
||||
// with memory allocation
|
||||
const std::vector<Part::Geometry *> geomlist = getSolvedSketch().extractGeometry(true, true);
|
||||
|
||||
#ifdef _DEBUG
|
||||
#ifdef FC_DEBUG
|
||||
assert(int(geomlist.size()) == extGeoCount + intGeoCount);
|
||||
assert((Constr->First >= -extGeoCount && Constr->First < intGeoCount)
|
||||
|| Constr->First != GeoEnum::GeoUndef);
|
||||
|
||||
Reference in New Issue
Block a user