* do 'project from face' in face2face seamless function for parallel faces
This commit is contained in:
parent
1b673b1a76
commit
c1b9b17635
|
|
@ -1458,7 +1458,7 @@ void Face_setTexture_Seamless( Face& face, const char* shader, const TextureProj
|
|||
|
||||
DoubleLine line = plane3_intersect_plane3( g_faceTextureClipboard.m_plane, face.getPlane().plane3() );
|
||||
if( vector3_length_squared( line.direction ) == 0 ){
|
||||
face.SetTexdef( projection );
|
||||
face.ProjectTexture( g_faceTextureClipboard.m_projection, g_faceTextureClipboard.m_plane.normal() );
|
||||
face.SetFlags( flags );
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user