View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022522 | Open CASCADE | OCCT:DRAW | public | 2011-05-20 13:32 | 2013-04-29 15:21 |
Reporter | kgv | Assigned To | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Product Version | 6.5.3 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0022522: Small BUG in DRAWEXE - vtrihedron command | ||||
Description | In code no check performed for existed object that cause this exception: >>An exception was caught 656843A4 : Standard_MultiplyDefined: DoubleMap:Bind >>** Exception ** 656843A4 : Standard_MultiplyDefined: DoubleMap:Bind Sample 1: pload ALL; box t 10 10 10; vinit; vdisplay t; vtrihedron t; Sample 2: pload ALL; vinit; vdisplay t; vdisplay t; I think that command should tell that name already bound and probably automatically unbind + bind new object. | ||||
Tags | No tags attached. | ||||
Test case number | bugs demo bug22522_1 bug22522_2 | ||||
|
A condition was added to VTrihedron function in ViewerTest_ObjectCommands.cxx to check if name chosen for a new object is already bound. And if it is true, the command informs about that, then it unbinds the name and binds it to a new object. |
|
The Git branch CR22522 is ready to be reviewed. Dear kgv, please review. |
|
Dear aba, Please look for usage of VDisplayAISObject() in other places to follow common behavior. |
|
Dear kgv, I've changed the code so that VDisplayAISObject() is used to control the name binding and an object displaying. Please review. |
|
Branch was reviewed and remarks were applied. Please test it. |
|
Dear BugMaster, Branch CR22522 (and products from GIT master) was compiled on Linux and Windows platforms and tested. Regression: Not detected Improvements: Not detected Testing case: bugs demo bug22522_1 bug22522_2 - OK |
occt: master dc9b6d23 2012-11-15 10:35:21
|
0022522: Small BUG in DRAWEXE - vtrihedron command Add condition to check if shape name is already bound Used VDisplayAISObject() to display an object vtrihedron - fixed parsing of arguments with Z direction definition |
Affected Issues 0022522 |
|
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 11:31 | bugmaster | Category | OCCT:MOA => OCCT:Modeling Algorithms |
2011-09-13 14:12 | bugmaster | Category | OCCT:Modeling Algorithms => OCCT:DRAW |
2011-09-13 14:12 | bugmaster | Fixed in Version | EMPTY => |
2011-09-13 14:12 | bugmaster | Description Updated | |
2012-10-26 14:50 | kgv | Product Version | => 6.5.3 |
2012-10-26 14:50 | kgv | Target Version | => 6.6.0 |
2012-10-26 14:52 |
|
Assigned To | bugmaster => aba |
2012-10-26 14:52 |
|
Status | new => assigned |
2012-10-30 16:18 |
|
Note Added: 0022014 | |
2012-10-30 16:20 |
|
Note Edited: 0022014 | |
2012-10-30 16:21 |
|
Note Added: 0022015 | |
2012-10-30 16:21 |
|
Assigned To | aba => kgv |
2012-10-30 16:21 |
|
Status | assigned => resolved |
2012-10-30 17:31 | kgv | Note Added: 0022019 | |
2012-10-30 17:31 | kgv | Assigned To | kgv => aba |
2012-10-30 17:31 | kgv | Status | resolved => assigned |
2012-10-31 10:44 |
|
Note Added: 0022024 | |
2012-10-31 10:44 |
|
Assigned To | aba => kgv |
2012-10-31 10:44 |
|
Status | assigned => resolved |
2012-10-31 11:42 | kgv | Note Added: 0022027 | |
2012-10-31 11:42 | kgv | Assigned To | kgv => bugmaster |
2012-10-31 11:42 | kgv | Status | resolved => reviewed |
2012-11-02 16:10 | apn | Note Added: 0022083 | |
2012-11-02 16:10 | apn | Test case number | => bugs demo bug22522_1 bug22522_2 |
2012-11-02 16:10 | apn | Status | reviewed => tested |
2012-11-16 13:03 |
|
Changeset attached | => occt master dc9b6d23 |
2012-11-16 13:03 |
|
Assigned To | bugmaster => aba |
2012-11-16 13:03 |
|
Status | tested => verified |
2012-11-16 13:03 |
|
Resolution | open => fixed |
2012-12-10 17:16 |
|
Changeset attached | => occt master dc9b6d23 |
2013-04-23 13:36 |
|
Status | verified => closed |
2013-04-29 15:21 |
|
Fixed in Version | => 6.6.0 |