projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec17fb
)
0030657: Visualization - misprint in Graphic3d_ZLayerSettings::SetOrigin()
IR-2019-04-19
author
kgv
<kgv@opencascade.com>
Wed, 17 Apr 2019 19:23:51 +0000
(22:23 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Fri, 19 Apr 2019 11:36:23 +0000
(14:36 +0300)
Add missing initialization of Geom_Transformation object.
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/Graphic3d/Graphic3d_ZLayerSettings.hxx
b/src/Graphic3d/Graphic3d_ZLayerSettings.hxx
index
25ee49e
..
fa2233c
100644
(file)
--- a/
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
+++ b/
src/Graphic3d/Graphic3d_ZLayerSettings.hxx
@@
-71,6
+71,7
@@
struct Graphic3d_ZLayerSettings
if (!theOrigin.IsEqual (gp_XYZ(0.0, 0.0, 0.0), gp::Resolution()))
{
myOriginTrsf = new Geom_Transformation();
+ myOriginTrsf->SetTranslation (theOrigin);
}
}