]> 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)
committersmoskvin <smoskvin@opencascade.com>
Fri, 18 Feb 2022 15:27:59 +0000 (18:27 +0300)
commit8dee83b0f34237ace6e0d45caab468751a37b148
tree7ad3b721aa72db7ce68d42269a6b60a47f07c5c0
parent2d0dd76414ee99a2bdeaf83d21661e5b328550d5
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