Archived issue #0023745

Draw Harness, ViewerText - vdrawtext command should not modify global text aspect

Open CASCADEOCCT:DRAWclosed6 public notes

Search issues

Description

DRAWEXE: if vdrawtext called prior to vtrhiedron, then the trihedron's text labels get the color specified for the text.

Steps to reproduce

Scenario for DRAWEXE:

pload ALL
vinit
vdrawtext "ANOTHERBUG" 100 100 100 255 0 0 0 0 0 1 50 0
vtrihedron trihedron

Public activity

6 archived notes

Participants are labeled by their role within this record.

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

[revision removed]


Detailed log of new commits:

Author: Commenter 3
Date: Mon Sep 29 22:53:51 2014 +0300

    0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text aspect
02Commenter 3
Trivial patch is ready for review in branch CR23745.
03Commenter 3
Branch CR23745 reviewed without remarks, ready for testing.
04Commenter 4
Dear Commenter 1,
Branch CR23745 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: 15 (15 on master)
Windows: 0 (0 on master)
MacOS: 196 (196 on master)

products component :
Linux: 11 (11 on master)
Windows: 3 (3 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR23745-master-occt/Debian60-64/demo/draw/bug23745.html
http://occt-tests/CR23745-master-occt/Windows-32-VC10/demo/draw/bug23745.html
demo draw(002) bug23745: OK

Testing on Linux:
occt component :
Total MEMORY difference: 397108712 / 397669948
Total CPU difference: 49279.300000000134 / 46596.14000000006
products component :
Total MEMORY difference: 121286600 / 121895028
Total CPU difference: 15818.65999999998 / 14587.819999999952

Testing on Windows:
occt component :
Total MEMORY difference: 279490508 / 279236240
Total CPU difference: 34052.890625 / 39387.8125
products component :
Total MEMORY difference: 71031232 / 67329420
Total CPU difference: 10960.15625 / 11318.515625

There are no differences in images found by testdiff.
05Commenter 2
Branch [archived branch] has been updated by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Thu Oct 2 09:42:24 2014 +0400

    Test case for issue CR23745

06Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]