PCH: Path App

This commit is contained in:
Abdullah Tahiri
2019-05-03 14:13:19 +02:00
committed by abdullahtahiriyo
parent 31d1c1d212
commit c03424c70e
8 changed files with 168 additions and 90 deletions

View File

@@ -23,11 +23,10 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <BRep_Builder.hxx>
# include <TopoDS_Compound.hxx>
#endif
#include <BRep_Builder.hxx>
#include <TopoDS_Compound.hxx>
#include "FeatureArea.h"
#include "FeatureAreaPy.h"
#include <App/DocumentObjectPy.h>
@@ -106,7 +105,7 @@ App::DocumentObjectExecReturn *FeatureArea::execute(void)
}
myShapes.clear();
if(myArea.getSectionCount()==0)
if(myArea.getSectionCount()==0)
myShapes.push_back(myArea.getShape(-1));
else {
myShapes.reserve(myArea.getSectionCount());