Mod: use empty
This commit is contained in:
@@ -276,7 +276,7 @@ void ViewProviderFemConstraintTransform::updateData(const App::Property* prop)
|
||||
return;
|
||||
std::vector<Base::Vector3d>::const_iterator n = normals.begin();
|
||||
|
||||
if (points.size() > 0) {
|
||||
if (!points.empty()) {
|
||||
Base::Vector3d base = pcConstraint->BasePoint.getValue();
|
||||
Base::Vector3d axis = pcConstraint->Axis.getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user