View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0030566 | Community | OCCT:Visualization | public | 2019-03-13 08:59 | 2019-03-14 10:58 |
| Reporter | Vico Liang | Assigned To | bugmaster | ||
| Priority | normal | Severity | block | ||
| Status | closed | Resolution | no change required | ||
| Platform | Android | OS | Andoird | ||
| Product Version | 7.4.0 | ||||
| Target Version | 7.4.0 | ||||
| Summary | 0030566: Visualization - Prs3d_PointAspect never take affect on Android. | ||||
| Description | It must be a bug introduced latest. I updated the newest code from git today. Before updating, setting of Marker aspect works as expected; after updating, it will take no effect. I try to do it from default drawer: const Handle(Prs3d_Drawer)& aDefaultDrawer = aContext->DefaultDrawer(); Handle(Prs3d_PointAspect) aMarkAspect = new Prs3d_PointAspect(Aspect_TOM_O, Quantity_NOC_RED, 30.0); aDefaultDrawer->SetPointAspect(aMarkAspect); or do it from Graphic Group: aGroup->SetGroupPrimitivesAspect(myPointAspect->Aspect()); Two options neither works. | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
|
|
Please provide a complete code computing presentation group, and comment if issue is specific to Android or only tested on Android platform. |
|
|
Dear kgv, The code snippet as following: aGroup->SetGroupPrimitivesAspect(myPointAspect->Aspect()); aGroup->AddPrimitiveArray(myArrayPoints, Standard_False); aGroup->SetGroupPrimitivesAspect(myLineAspect->Aspect()); aGroup->AddPrimitiveArray(myArraySegments, Standard_False); Above code snippet will reproduce the issue. but if i change the second SetGroupPrimitivesAspect to SetPrimitivesAspect, it works. After some deep digging on OCCT git, i found that it a desired behaviour since your latest merge Graphic3d_Group aspects 0029570 . |
|
|
Yes, take a look onto porting instructions: https://dev.opencascade.org/doc/overview/html/occt_dev_guides__upgrade.html#upgrade_740_aspects |
|
|
Dear kgv, Thank you for the guide. Please close this. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-03-13 08:59 | Vico Liang | New Issue | |
| 2019-03-13 08:59 | Vico Liang | Assigned To | => kgv |
| 2019-03-13 09:00 | Vico Liang | OS | => Andoird |
| 2019-03-13 09:00 | Vico Liang | Platform | => Android |
| 2019-03-13 09:00 | Vico Liang | Product Version | => 7.4.0 |
| 2019-03-13 09:42 | kgv | Note Added: 0082893 | |
| 2019-03-13 09:42 | kgv | Assigned To | kgv => Vico Liang |
| 2019-03-13 09:42 | kgv | Status | new => feedback |
| 2019-03-13 10:49 | Vico Liang | Note Added: 0082898 | |
| 2019-03-13 11:02 | kgv | Note Added: 0082900 | |
| 2019-03-13 11:02 | kgv | Relationship added | child of 0029570 |
| 2019-03-13 11:02 | kgv | Resolution | open => no change required |
| 2019-03-13 11:09 | Vico Liang | Note Added: 0082901 | |
| 2019-03-13 11:12 | kgv | Assigned To | Vico Liang => bugmaster |
| 2019-03-14 10:58 | bugmaster | Status | feedback => closed |