Path.Area: avoid FeatureArea recompute on doc load

This commit is contained in:
Zheng, Lei
2017-03-22 04:46:28 +08:00
committed by wmayer
parent d0ceee5e86
commit 6a5740cd5c

View File

@@ -144,7 +144,7 @@ const std::vector<TopoDS_Shape> &FeatureArea::getShapes() {
short FeatureArea::mustExecute(void) const
{
if(!myArea.isBuilt())
if(myInited && !myArea.isBuilt())
return 1;
return Part::Feature::mustExecute();
}