X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Displayer.cpp;h=dafd6dd98246261e97fd705e1bee84c3c9d399e4;hb=787e0f26ba0c38ea246c0757cbb1ea244f494185;hp=26672b4726b4cf94ac9210dfb0d184d1c9f02d34;hpb=37fa3ebba9b6fcb101c6b5e582f49b5cc87ddea9;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 26672b472..dafd6dd98 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -1351,7 +1351,6 @@ bool XGUI_Displayer::activate(const Handle(AIS_InteractiveObject)& theIO, return isActivationChanged; } -//#define DEBUG_FULLY_CONSTRAINED bool XGUI_Displayer::customizeObject(ObjectPtr theObject) { AISObjectPtr anAISObj = getAISObject(theObject); @@ -1374,10 +1373,8 @@ bool XGUI_Displayer::customizeObject(ObjectPtr theObject) } bool isCustomized = aCustomPrs.get() && aCustomPrs->customisePresentation(aResult, anAISObj, myCustomPrs); -#ifdef DEBUG_FULLY_CONSTRAINED isCustomized = myWorkshop->module()->afterCustomisePresentation(aResult, anAISObj, myCustomPrs) || isCustomized; -#endif return isCustomized; }