]> OCCT Git - occt.git/commit
0032840: Application Framework, copying of a scaled shape fails
authorvro <vro@opencascade.com>
Thu, 17 Feb 2022 05:35:26 +0000 (08:35 +0300)
committerkgv <kgv@opencascade.com>
Fri, 18 Feb 2022 16:53:17 +0000 (19:53 +0300)
commit00be1552ed7a301fd97e98996ff8c52332397e29
treebccb434c9f2b5c0fe3dbbc7ff7ef4a447a0109fa
parenta2bacd54f402862af8b212934ced8833493f44d7
0032840: Application Framework, copying of a scaled shape fails

A flag not to raise an exception is set for a copying shape. A reason: if a shape is already in the model, the user should have an opportunity to copy it.

Modified files:
TNaming_CopyShape.cxx, the method Translate(). A false-flag is used on copying of location of the shape.
src/TNaming/TNaming_CopyShape.cxx