diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-09 10:25:03 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-09-09 10:25:03 +0000 |
commit | 70bdc7b0ba69a27e269c79c3fea33043e3c539f9 (patch) | |
tree | 3d4b5bdc90d26341603c295de61f6f1c2c768702 /goodies/source/base3d | |
parent | d08c44603ade8462fc4e613cc004dc6ea10de9ee (diff) |
INTEGRATION: CWS ooo20040815 (1.1.1.1.240); FILE MERGED
2004/08/04 13:31:01 waratah 1.1.1.1.240.1: #i32569# separate assignment from if statements
Diffstat (limited to 'goodies/source/base3d')
-rw-r--r-- | goodies/source/base3d/b3dentty.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/goodies/source/base3d/b3dentty.cxx b/goodies/source/base3d/b3dentty.cxx index f3ad576cfdce..e780528dd48d 100644 --- a/goodies/source/base3d/b3dentty.cxx +++ b/goodies/source/base3d/b3dentty.cxx @@ -2,9 +2,9 @@ * * $RCSfile: b3dentty.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:30:10 $ + * last change: $Author: hr $ $Date: 2004-09-09 11:25:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,10 +89,12 @@ void B3dEntity::Copy(B3dEntity& rEnt) bEdgeFlag = rEnt.IsEdgeVisible(); aPlaneNormal = rEnt.PlaneNormal(); - if(bNormalUsed = rEnt.IsNormalUsed()) + bNormalUsed = rEnt.IsNormalUsed(); + if( bNormalUsed ) aNormal = rEnt.Normal(); - if(bTexCoorUsed = rEnt.IsTexCoorUsed()) + bTexCoorUsed = rEnt.IsTexCoorUsed(); + if( bTexCoorUsed ) aTexCoor = rEnt.TexCoor(); aColor = rEnt.Color(); |