From c1b9b17635b8f4d43f782cc96bfb2e63f67aa059 Mon Sep 17 00:00:00 2001 From: Garux Date: Mon, 19 Feb 2018 13:09:10 +0300 Subject: [PATCH] * do 'project from face' in face2face seamless function for parallel faces --- radiant/surfacedialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/surfacedialog.cpp b/radiant/surfacedialog.cpp index cf50c552..3ebb2f81 100644 --- a/radiant/surfacedialog.cpp +++ b/radiant/surfacedialog.cpp @@ -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; }