PCH: Path App
This commit is contained in:
committed by
abdullahtahiriyo
parent
31d1c1d212
commit
c03424c70e
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user