mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
* do 'project from face' in face2face seamless function for parallel faces
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user