From e2473f133f39b4e79e021b9f4df898b927403630 Mon Sep 17 00:00:00 2001 From: asv Date: Fri, 3 Jun 2005 10:39:50 +0000 Subject: [PATCH] Bug with bad object names after explode is fixed. --- src/EntityGUI/EntityGUI_SubShapeDlg.cxx | 4 ++++ src/EntityGUI/EntityGUI_SubShapeDlg.h | 1 + 2 files changed, 5 insertions(+) diff --git a/src/EntityGUI/EntityGUI_SubShapeDlg.cxx b/src/EntityGUI/EntityGUI_SubShapeDlg.cxx index 4fbbd78f6..0e55e14cc 100644 --- a/src/EntityGUI/EntityGUI_SubShapeDlg.cxx +++ b/src/EntityGUI/EntityGUI_SubShapeDlg.cxx @@ -590,3 +590,7 @@ GEOM::GEOM_Object_ptr EntityGUI_SubShapeDlg::getFather( GEOM::GEOM_Object_ptr ) return myObject; } +const char* EntityGUI_SubShapeDlg::getNewObjectName() const +{ + return ""; +} diff --git a/src/EntityGUI/EntityGUI_SubShapeDlg.h b/src/EntityGUI/EntityGUI_SubShapeDlg.h index ba1658a24..59fa1e016 100644 --- a/src/EntityGUI/EntityGUI_SubShapeDlg.h +++ b/src/EntityGUI/EntityGUI_SubShapeDlg.h @@ -54,6 +54,7 @@ protected: virtual bool isValid( QString& ); virtual bool execute( ObjectList& objects ); virtual GEOM::GEOM_Object_ptr getFather( GEOM::GEOM_Object_ptr theObj ); + virtual const char* getNewObjectName() const; private slots: void ClickOnOk(); -- 2.39.2