Transfer BreakLink from Object to Gen

This commit is contained in:
vsv 2019-12-23 14:55:03 +03:00
parent e2fe8c1360
commit f1da3f8ded
3 changed files with 8 additions and 7 deletions

View File

@ -515,11 +515,6 @@ module GEOM
*/
boolean IsParametrical();
/*
* \brief Breaks links to parametrical mode for parametrical shape
*/
void BreakLinks();
};
//# GEOM_Field
@ -5154,6 +5149,11 @@ module GEOM
inout string_array theSubEntries,
inout string_array theOtherEntries);
/*
* \brief Breaks links to parametrical mode for parametrical shape
*/
void BreakLink(in string theEntry);
};
};

View File

@ -385,6 +385,9 @@ class GEOM_I_EXPORT GEOM_Gen_i: virtual public POA_GEOM::GEOM_Gen, virtual publi
void LoadPlugin(const std::string& theLibName);
virtual void BreakLink(const char*) {}
private:
::GEOMImpl_Gen* _impl;

View File

@ -83,8 +83,6 @@ class GEOM_I_EXPORT GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public
virtual bool IsParametrical() { return false; }
virtual void BreakLinks() {}
Handle(::GEOM_Object) GetImpl() { return _impl; }