From f7e22794dc9f7e96ed777cc22c72aebe7eccbe9f Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 9 Jul 2015 11:46:05 +0300 Subject: [PATCH] 1. ExtrusionCut: Apply Sketch button(in tool bar) should be applyed only to the sketch. Correction to check an operation on zero state --- src/XGUI/XGUI_OperationMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index 15455fe1b..85892d74b 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -195,7 +195,7 @@ bool XGUI_OperationMgr::isParentOperationValid() const bool isValid = false; // the enable state of the parent operation of the nested one is defined by the rules that // firstly there are nested operations and secondly the parent operation is valid - ModuleBase_Operation* aPrevOp; + ModuleBase_Operation* aPrevOp = 0; Operations::const_iterator anIt = myOperations.end(); if (anIt != myOperations.begin()) { // there are items in the operations list --anIt; -- 2.39.2