]> OCCT Git - occt-copy.git/commit
0025341: Visualization - disallow displaying object as part of connected one and... CR0_WEEK42
authorkgv <kgv@opencascade.com>
Sat, 28 Sep 2019 10:36:24 +0000 (13:36 +0300)
committerabv <abv@opencascade.com>
Mon, 21 Oct 2019 08:55:46 +0000 (11:55 +0300)
commit1e032afa59832403cb70f6941df761e665ced819
treea8ddcd389e680fc0db154a99f158db5bd19d74af
parent850fb1fff1fb8a9b9e25900417241033da92d366
0025341: Visualization - disallow displaying object as part of connected one and as a free one at the same time

AIS_ConnectedInteractive::connect() now throws exception on connecting already displayed object.
AIS_TextLabel::AcceptDisplayMode() - added missing Display Mode filter.

Commands vconnect, vconnectto and vaddconnected have been corrected to
replace dispalyed AIS_Shape with AIS_ConnectedInteractive in context.
src/AIS/AIS_ConnectedInteractive.cxx
src/AIS/AIS_TextLabel.cxx
src/AIS/AIS_TextLabel.hxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx