Archived issue #0027624

Draw Harness, ViewerTest - vdrawtext command ignores text display options

Open CASCADEOCCT:DRAWclosed7 public notes

Search issues

Description

vdrawtext command ignores -disptype argument value if -2d option is not specified.

Steps to reproduce

bugs vis bug27624

Additional information

This minor problem was discovered while trying to create a test case for #0027617 that illustrates a highlighting issue with a text with display type = Aspect_TODT_SUBTITLE.

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Mon Jun 20 18:55:24 2016 +0300

    0027624: ViewerTest - vdrawtext command ignores text display options
    
    vdrawtext command was corrected to set the specified text display type
    regardless of other options.

02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 3
Branch CR27624 ready for reviewing.
04Commenter 3
Please test the patch.
05Commenter 5
Dear Commenter 1,
Branch CR27624 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

products component :
Linux: 68 (68 on master)
Windows: 0 (0 on master)
MacOS : 1153

Regressions/Differences/Improvements:
No regressions/differences

Testing cases:
http://occt-tests/CR27624-master-OCCT/Debian70-64/bugs/vis/bug27624.html
http://occt-tests/CR27624-master-OCCT/Windows-64-VC10/bugs/vis/bug27624.html
bugs vis bug27624: OK

Testing on Linux:
occt component :
Total MEMORY difference: 88027897 / 89160850 [-1.27%]
Total CPU difference: 19387.329999999918 / 19458.61999999997 [-0.37%]
products component :
Total MEMORY difference: 27475387 / 27412842 [+0.23%]
Total CPU difference: 5175.059999999988 / 5165.429999999985 [+0.19%]

Testing on Windows:
occt component :
Total MEMORY difference: 55893153 / 55904007 [-0.02%]
Total CPU difference: 18318.854227798845 / 18535.836018698956 [-1.17%]
products component :
Total MEMORY difference: 18643062 / 18607822 [+0.19%]
Total CPU difference: 5005.604086999941 / 4997.570035499952 [+0.16%]

There are no differences in images found by testdiff.
06Commenter 6
Dear Commenter 1,
Branch CR27624 is TESTED.
07Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records