@@ -20,6 +20,8 @@ public class PatcherTemplate : EditorWindow
2020 public static void ShowWindow ( )
2121 {
2222 PatcherTemplate window = GetWindow < PatcherTemplate > ( @"NameOfWindow" ) ;
23+ if ( ! Debug ) window . maxSize = new Vector2 ( 442 , 223 ) ;
24+ if ( Debug ) window . maxSize = new Vector2 ( 1000 , 700 ) ;
2325 window . Show ( ) ;
2426 }
2527
@@ -63,7 +65,7 @@ void OnGUI()
6365 }
6466 else if ( File . Exists ( currentCustomfbxPath ) )
6567 {
66- AddBoldCenteredLabel ( "Edited model is already in the folder" ) ;
68+ AddBoldCenteredLabel ( "Edited model is already in the folder Enjoy :) " ) ;
6769 debugMessage = 2 ;
6870 }
6971 else if ( ! ( File . Exists ( FBXDiffFile ) && File . Exists ( MetaDiffFile ) ) )
@@ -150,15 +152,15 @@ void OnGUI()
150152 case 0 :
151153 break ;
152154 case 4 :
153- //fbx fail
154- AddBoldCenteredLabel ( "Failed patching the FBX! " ) ;
155+ //fbx fucked up
156+ AddBoldCenteredLabel ( "/! \\ Something went wrong during the patching of the FBX /! \\ " ) ;
155157 EditorGUILayout . Space ( 10 ) ;
156158 AddBoldCenteredLabel ( "Please double check that you used " + AvatarVersion ) ;
157159 AddBoldCenteredLabel ( "to import the original avatar in your project" ) ;
158160 break ;
159161 case 5 :
160- //meta fail
161- AddBoldCenteredLabel ( "FBX configuration has been modified! " ) ;
162+ //meta fucked up
163+ AddBoldCenteredLabel ( "/! \\ Something went wrong during the patching of the import file /! \\ " ) ;
162164 EditorGUILayout . Space ( 10 ) ;
163165 AddBoldCenteredLabel ( "Please double check that you used " + AvatarVersion ) ;
164166 AddBoldCenteredLabel ( "to import the original avatar in your project" ) ;
0 commit comments