From 6a5740cd5c1166f9a2d33c655f5e3e1d4582d6d6 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Wed, 22 Mar 2017 04:46:28 +0800 Subject: [PATCH] Path.Area: avoid FeatureArea recompute on doc load --- src/Mod/Path/App/FeatureArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/App/FeatureArea.cpp b/src/Mod/Path/App/FeatureArea.cpp index be19b0a46d..9e159a5f8d 100644 --- a/src/Mod/Path/App/FeatureArea.cpp +++ b/src/Mod/Path/App/FeatureArea.cpp @@ -144,7 +144,7 @@ const std::vector &FeatureArea::getShapes() { short FeatureArea::mustExecute(void) const { - if(!myArea.isBuilt()) + if(myInited && !myArea.isBuilt()) return 1; return Part::Feature::mustExecute(); }