File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -204,16 +204,6 @@ public static bool OnValidateMenuItem()
204
204
205
205
if ( selection == null || selection . Length == 0 )
206
206
{
207
- string errorMessage = "No GameObjects selected for update." ;
208
- if ( runningUnitTest )
209
- {
210
- Debug . LogError ( errorMessage ) ;
211
- LogAssert . Expect ( LogType . Error , errorMessage ) ;
212
- }
213
- else
214
- {
215
- DisplayNoSelectionDialog ( errorMessage ) ;
216
- }
217
207
return false ;
218
208
}
219
209
@@ -228,21 +218,6 @@ public static bool OnValidateMenuItem()
228
218
}
229
219
}
230
220
231
- if ( ! containsLinkedPrefab )
232
- {
233
- string errorMessage = "No linked prefabs selected." ;
234
- if ( runningUnitTest )
235
- {
236
- Debug . LogError ( errorMessage ) ;
237
- LogAssert . Expect ( LogType . Error , errorMessage ) ;
238
- }
239
- else
240
- {
241
- DisplayNoSelectionDialog ( errorMessage ) ;
242
- }
243
- }
244
-
245
-
246
221
return containsLinkedPrefab ;
247
222
}
248
223
You can’t perform that action at this time.
0 commit comments