0028647: Visualization, OpenGl_AspectMarker - invalid marker size on re-setting aspec...
authorkgv <kgv@opencascade.com>
Tue, 11 Apr 2017 14:54:10 +0000 (17:54 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 12 Apr 2017 14:54:31 +0000 (17:54 +0300)
commit33cc703b161311d765ce392083711fda3e1b5c9e
treea85079fb64ab99037e4ec18c88b7b8bab8616151
parent003281f4e77cd7366e27dbda98bc6e5e0b9211f4
0028647: Visualization, OpenGl_AspectMarker - invalid marker size on re-setting aspect without redraw

OpenGl_AspectMarker::Resources::BuildSprites(), fixed uninitialized theMarkerSize
in case if aspect has been already initialized for specified marker type.

Draw Harness command vaspects has been extended with new options -setMarkerType and -setMarkerSize.
src/OpenGl/OpenGl_AspectMarker.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest.hxx