]> git.mxchange.org Git - simgear.git/commitdiff
Remove an extra sgSetVec call
authorehofman <ehofman>
Tue, 17 Feb 2004 14:40:05 +0000 (14:40 +0000)
committerehofman <ehofman>
Tue, 17 Feb 2004 14:40:05 +0000 (14:40 +0000)
simgear/scene/tgdb/leaf.cxx

index e5cdd14a2ac5acf54ae7cd22343961edb52aa6a5..3a98f2d7f1d991938a372521b16ca5a4732e3eef 100644 (file)
@@ -224,7 +224,7 @@ ssgLeaf *sgMakeLeaf( const string& path,
     if ( size == 1 ) {
         texcoord = texcoords[ tex_index[0] ];
         sgSetVec2( tmp2, texcoord[0], texcoord[1] );
-        sgSetVec2( tmp2, texcoord[0], texcoord[1] );
+        //sgSetVec2( tmp2, texcoord[0], texcoord[1] );
         if ( tex_width > 0 ) {
             tmp2[0] *= (1000.0 / tex_width);
         }