View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027988 | Open CASCADE | OCCT:Visualization | public | 2016-10-21 12:39 | 2016-12-09 16:38 |
Reporter | kgv | Assigned To | apn | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 7.1.0 | ||||
Target Version | 7.1.0 | Fixed in Version | 7.1.0 | ||
Summary | 0027988: Visualization, AIS_InteractiveContext - fix inconsistent methods for setting highlight styles | ||||
Description | Patch for 0027818 has introduced the following new methods:+ Handle(Graphic3d_HighlightStyle)& ChangeHighlightStyle() + { + return myHiStyle; + } + + Handle(Graphic3d_HighlightStyle)& ChangeSelectionStyle() + { + return mySelStyle; + } The "Change" syntax makes sense only in context of primitive types, where it can be used in expressions like "ChangeValue() += 33.0", but not with Handle types. It is better changing these methods to "Set" syntax for easier lookup of class properties. | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Branch CR27988 has been created by kgv. SHA-1: 507307afb53e3e9d93e72c02eacfb3e543f39f22 Detailed log of new commits: Author: kgv Date: Fri Oct 21 12:51:26 2016 +0300 0027988: Visualization, AIS_InteractiveContext - fix inconsistent methods for setting highlight styles Methods ::ChangeHighlightStyle() and ::ChangeSelectionStyle() have been replaced by ::SetHighlightStyle() and ::SetSelectionStyle(). |
|
Patch is ready for review. |
|
Branch CR27988 reviewed without remarks, ready for testing. |
|
Please check building, regression testing is not needed. |
|
Dear BugMaster, Branch CR27988 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode. SHA-1: 507307afb53e3e9d93e72c02eacfb3e543f39f22 Number of compiler warnings: occt component : Linux: 0 (0 on master) Windows: 0 (0 on master) MacOS : 0 (0 on master) products component : Linux: 63 (63 on master) Windows: 0 (0 on master) MacOS : 1148 |
|
Dear BugMaster, Branch CR27988 is TESTED. |
|
Branch CR27988 has been deleted by kgv. SHA-1: 507307afb53e3e9d93e72c02eacfb3e543f39f22 |
occt: master d94bed0e 2016-10-21 09:51:26 Committer: apn Details Diff |
0027988: Visualization, AIS_InteractiveContext - fix inconsistent methods for setting highlight styles Methods ::ChangeHighlightStyle() and ::ChangeSelectionStyle() have been replaced by ::SetHighlightStyle() and ::SetSelectionStyle(). |
Affected Issues 0027988 |
|
mod - dox/dev_guides/upgrade/upgrade.md | Diff File | ||
mod - src/AIS/AIS_InteractiveContext.cxx | Diff File | ||
mod - src/AIS/AIS_InteractiveContext.hxx | Diff File | ||
mod - src/QABugs/QABugs_16.cxx | Diff File | ||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-21 12:39 | kgv | New Issue | |
2016-10-21 12:39 | kgv | Assigned To | => kgv |
2016-10-21 12:40 | kgv | Relationship added | child of 0027818 |
2016-10-21 12:51 | git | Note Added: 0058954 | |
2016-10-21 12:51 | kgv | Note Added: 0058955 | |
2016-10-21 12:51 | kgv | Assigned To | kgv => san |
2016-10-21 12:51 | kgv | Status | new => resolved |
2016-10-21 12:52 | kgv | Description Updated | |
2016-10-23 16:10 |
|
Note Added: 0058985 | |
2016-10-23 16:10 |
|
Assigned To | san => bugmaster |
2016-10-23 16:10 |
|
Status | resolved => reviewed |
2016-10-24 14:43 |
|
Assigned To | bugmaster => mkv |
2016-10-24 14:45 | kgv | Note Added: 0059025 | |
2016-10-25 12:08 |
|
Note Added: 0059066 | |
2016-10-25 12:08 |
|
Note Added: 0059067 | |
2016-10-25 12:08 |
|
Assigned To | mkv => bugmaster |
2016-10-25 12:08 |
|
Status | reviewed => tested |
2016-10-25 12:08 |
|
Test case number | => Not needed |
2016-10-28 14:35 | apn | Changeset attached | => occt master d94bed0e |
2016-10-28 14:35 | apn | Assigned To | bugmaster => apn |
2016-10-28 14:35 | apn | Status | tested => verified |
2016-10-28 14:35 | apn | Resolution | open => fixed |
2016-10-28 21:37 | git | Note Added: 0059422 | |
2016-12-09 16:30 |
|
Status | verified => closed |
2016-12-09 16:38 |
|
Fixed in Version | => 7.1.0 |